ERP pipeline · PSYCH 390 step 10 / 11

ERP Scoring and Measurement

How big, and how fast?

Figure 1

Mean Amplitude, Peak, and Latency Measures of the N400 Under Noise

Related Unrelated true difference (no noise) measurement window (drag its edges)
to
Related Unrelated difference (Unrelated − Related) true difference
mean minus true, across 20 re-draws SD

Waveforms are a fixed true ERP plus filtered noise scaled by 1/√N, with no trial-to-trial latency variation. Adapted from Luck (2014), Figure 9.1.

What You Are Looking At

Panel A shows two averaged waveforms from electrode Pz, one for Related word pairs and one for Unrelated pairs. The early P1, N1, and P2 peaks are the same in both; the difference is the N400, a broad negative wave around 300 to 500 ms that is larger when the word does not fit its context. What remains of the trial-to-trial noise after averaging is drawn into the waveforms, and it shrinks with the square root of the number of trials. The gray band is the measurement window. The measure you choose is marked on each waveform, a horizontal bar for the mean, a dot for a peak, and a vertical marker for the 50% area latency. The readout gives the value for each condition and their difference.

Panel B repeats the whole experiment 20 times with fresh noise and plots the 20 measured differences as dots. The gold line is the true difference, the value you would get with no noise at all. A measure is unbiased when the cloud of dots is centered on that line; it is precise when the cloud is narrow.

Try This

  1. Leave the measure on mean amplitude and drag the trial slider from 200 down to 10. The dots spread out but stay centered on the gold line. Averaging fewer trials costs precision, not accuracy.
  2. Switch to peak amplitude at 10 trials. Each condition's peak is now far more negative than its true value, because a noisy waveform always has some deep dip somewhere in the window. The flatter Related waveform gains more from this than the Unrelated one, so the difference is pulled toward zero.
  3. Choose peak latency. The N400 has no sharp tip, so a small blip anywhere in the window can become the "peak" and the latencies jump by tens of milliseconds. Compare the spread with 50% area latency, which uses the whole shape.
  4. Press Pick the window where the difference looks biggest a few times with New noise in between. The window wanders to wherever the noise happened to fall, and the measured effect is larger than the truth.
  5. Drag the window edges by hand to 200 to 700 ms and compare the difference readout with the true difference for each measure; the window now includes neighboring components.

Why It Matters for the Pipeline

A component is not a peak (Luck, 2014, Chapter 9). The N400 is the activity of a neural process that lasts a couple of hundred milliseconds, and the most negative sample in that stretch is one sample among many. The mean amplitude over a window is an average of every sample, so noise that pushes some samples up and others down cancels, and the estimate stays centered on the truth however few trials you have. It is also linear, so the mean of the participants' measurements equals the measurement of the grand average, which keeps group statistics simple. For these reasons the course scores the N400 as mean amplitude from 300 to 500 ms at centro-parietal sites such as Cz, CPz, and Pz, and computes the effect as Unrelated minus Related, following the ERP CORE scoring (Kappenman et al., 2021).

Peak amplitude is appropriate for sharp, well-defined deflections such as P1, N1, and N170, preferably after low-pass filtering and with the local peak rule so the algorithm does not stop at the window edge. Peak latency suits those same components; for broad ones, 50% area latency gives a more stable estimate of the midpoint. Whatever the measure, the window and electrodes come from prior literature, decided before looking at the data. A window picked because the difference looks largest there will find effects in pure noise. In ERPLAB the measurement tool is pop_geterpvalues (Lopez-Calderon & Luck, 2014); the call shown under the figure follows the selector, with 'meanbl' for mean amplitude relative to the prestimulus baseline. The two positional arguments after the window are the bins and the channels to measure, so chan_idx is looked up by label first.

References

Kappenman, E. S., Farrens, J. L., Zhang, W., Stewart, A. X., & Luck, S. J. (2021). ERP CORE: An open resource for human event-related potential research. NeuroImage, 225, Article 117465. https://doi.org/10.1016/j.neuroimage.2020.117465

Lopez-Calderon, J., & Luck, S. J. (2014). ERPLAB: An open-source toolbox for the analysis of event-related potentials. Frontiers in Human Neuroscience, 8, Article 213. https://doi.org/10.3389/fnhum.2014.00213

Luck, S. J. (2014). An introduction to the event-related potential technique (2nd ed.). MIT Press.