Skip to main content
. Author manuscript; available in PMC: 2012 Oct 15.
Published in final edited form as: Stat Med. 2011 Jul 22;30(23):2854–2866. doi: 10.1002/sim.4309

Algorithm 2.

Routine Hyptest

input: signals X (N sources) and coordinates POS (N × 3), threshold level αthresh, averaging window δ
for n = 1 to N do
 run likelihood ratio test on source n in time step δ (T steps)
 compute statistics sn = [sn1, …, snT] and corresponding p-values pn = [pn1, …, pnT]
for t = 1 to T do
  if pnt < αthresh then
   obtain 3-D coordinates POSn = [x, y, z]n
   store cnt = [t, POSn] in C
   store n and t in N* and T*, respectively
  end if
  tt + 1
end for
nn + 1
end for
output: 4-D spatiotemporal coordinates C = {cnt |nN*, tT*}