Skip to main content
Social Sci LibreTexts

10.8: Exercise- Fractional Area Latency

  • Page ID
    137662
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    In this exercise, we’re going to look at a different latency scoring algorithm called fractional area latency, which is often superior to peak latency (especially when measured from difference waves). For a negative component like the LRP, this algorithm calculates the area of the waveform below the zero line and then finds the time point that divides the area into two areas at a particular percentage. If you want to estimate the midpoint of the waveform, you will look for the 50% point (the time that divides the area into two equal halves). This is then called the 50% area latency (see Chapter 9 in Luck, 2014, for more details). Screenshot 10.6 shows what it looks like when I apply this algorithm to Bin 2 (Incompatible) from the grand average, using a measurement window of 100 to 700 ms. The area under the curve in this measurement window is shaded in red, and the point that divides this area into two equal halves is indicated by the red vertical line. This region includes some little areas near the beginning and end of the measurement window, but that’s just how it goes. It’s difficult to perfectly quantify ERP amplitudes and latencies, and we have to live with some error.

    Screenshot 10.6

    6-small fractional_area_latency_grand_bin2.png
    Don’t Worry About High-Frequency Noise in Area-Based Measures

    Area-based measures like fractional area latency are relatively insensitive to high-frequency noise, so we will apply this method to the unfiltered data. It's also usually unnecessary to filter out high-frequency noise when measuring mean amplitude.

    Let’s apply this scoring algorithm to the single-participant waveforms. If the filtered ERPsets from the previous exercise are still loaded in ERPLAB, clear them (or quit and restart EEGLAB). Then load the 40 unfiltered difference waves (from the Chapter_10 > Data > ERPsets_CI_Diff folder). Launch the Measurement Tool, and set it up as shown in Screenshot 10.7. The measurement Type is Fractional area latency, and we’re looking for the 50% point in the Area for negative waveforms. We’re again measuring from Bins 1 and 2 (Compatible and Incompatible) in the C3/C4 channel, and we’re saving the scores in a file named negative_area_latency.txt.

    Screenshot 10.7

    7 Measurement_GUI_FAL.png

    Using the Viewer, make sure that the scoring algorithm is working properly. Then go back to the Measurement Tool and click RUN to save the measurements. Load the data into your statistics package and do a paired t test, as in the previous exercise. You’ll see that the mean latency is ~45 ms shorter for the Compatible condition than for the Incompatible condition, which is actually a somewhat smaller difference than we saw for peak latency (a 57 ms difference). However, the Cohen’s d has increased substantially, from -0.577 for peak latency to -0.823 for the 50% area latency measure. And if you look at the descriptive statistics, you’ll see that the standard deviations are now quite a bit lower. So, we now have a large effect size instead of a medium effect size, due to reduced variability (presumably owing to reduced measurement error).

    The increased effect size we’re seeing for 50% area latency relative to peak latency is consistent with what I’ve seen in many previous experiments. This is one of the reasons I recommend using 50% area latency, especially when the measurements are being obtained from difference waves.

    When to Use Fractional Area Latency

    The fractional area latency algorithm works well only if the waveform is dominated by a single component. This is usually true of difference waves, which are designed to isolate a single component. The 50% area latency measure also works well on parent waves when the component of interest is so large that it dominates everything else (e.g., the N400 for semantically deviant words or the P3b for rare targets).

    A more direct way to compare measurement error for these two different scoring algorithms would be to look at the standardized measurement error (SME). Unfortunately, it’s complicated to compute the SME for anything other than mean amplitudes. When some other scoring algorithm is used, or when the measurements are obtained from difference waves, a method called bootstrapping is necessary for calculating the SME. Currently, this can’t be done from the ERPLAB GUI and instead requires scripting. I’ve provided a script for this at the end of the chapter. The script demonstrates that the SME was in fact much better (lower) for the 50% area latency measure than for the peak latency measure in this experiment.


    This page titled 10.8: Exercise- Fractional Area Latency is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Steven J Luck directly on the LibreTexts platform.

    • Was this article helpful?