Raster
PSTH
Mean rate across trials ± SEM (shaded). Dashed line: the true rate the cell was simulated from.
Intervals between spikes
Spike counts in 1 s windows
Test settings
All methods on this cell
Same cell, same windows, each method with its own settings above. Click a row to open that method. Click a column heading to sort.
Window length: fixed windows vs a window set by the response
Same cell, each test re-run with the response window ending at 0.25, 0.5, 1, 2 (the default) and 3 s, and once with a derived window that ends where this cell's response ends: latency + 2 × the latency jitter SD (covers about 98% of trials) + response length (3 × duration for the peak shape, so its tail is inside), rounded up to 0.05 s and kept between 0.25 and 3 s. Shape axis: Cramér–von Mises vs uniform and ZETA use the same end for their timing window (the two-sample shape test keeps its fixed windows). Baseline stays −2 to −0.25 s.
Lines: fixed windows. Rings: the derived window (dotted line). ✓ in the table = called (same α and BH setting as above). The per-trial count tests and the “T4 or T4-pre” rule have no single p, so they are in the table only.
Simulated cells only.
How often does each test call a non-responding cell significant?
This simulates many cells with the cell settings but no response (the response is switched off), runs each test, and counts how many are called significant. A fair test at α = 0.05 should land near 5%. The toggles add common problems that can fool a test.
Not run yet. On a laptop, 200 cells take roughly 10–40 s depending on the number of trials.
Share of null cells called significant
Bar = observed share, whisker = 95% interval (Clopper–Pearson), dashed line = 5%. Colour and marker identify the method.
These rates come from simulated cells only. They show how each idea behaves under the problems you switch on here.