Metric Correlation
Metric Correlation in GazePlotter provides statistical analysis of relationships between multiple eye-tracking metrics across participants. By calculating correlations between selected aggregate metrics (such as fixation durations, visit counts, or Recurrence Quantification Analysis (RQA) measures), this visualization displays relationships as a color-coded correlation heatmap matrix or a grid of scatter plots (Scatter Plot Matrix / SPLOM).
Plot Operations: For general canvas operations (moving, resizing, duplicating, or removing plots), see Plot Manipulation.
Metric Contract
To render a Metric Correlation plot, GazePlotter queries the workspace’s metric library. This visualization requires a metric configuration that satisfies the following contract:
- Output Shape:
scalar(each selected metric must compute a single numerical value per participant across the selected duration). - Windowing:
forbidden(calculated across the selected time range as a single aggregate). - Selection:
multi-select(must select at least two metrics to compute correlations).
Metrics Documentation: For details on how raw metric shapes translate to scalar projections (like matrix cell/aggregate or vector pick-aoi), see the Metrics Library Overview and category sub-pages.
Configuration via Pane
Clicking the Metric Correlation plot card in the workspace selects the plot and opens its configuration options in the sidebar Pane (or bottom sheet on mobile). The settings are organized into the following collapsible sections:
Stimulus
Choose the stimulus for which metrics are aggregated.
- Edit stimulus library…: Opens the Stimuli Library to manage stimulus files.
Participant group
Filter the analysis to a specific participant group. The correlation is computed using the values of individual participants within this group.
- Select group: A dropdown containing All participants and custom participant groups.
- Edit groups…: Opens the Participant Groups editor to manage cohort comparison sets.
- Edit participants…: Opens the Participant Library to rename or reorder participants.
Metrics
Select which metrics to correlate.
- Select metrics: A multi-select dropdown to choose two or more metric instances from the library. Standard aggregate metrics include:
- Time on stimulus (
absoluteTime-any): Total viewing time (see Durations). - Visit count (
visitCount-any): Total visits (see Counts & Latency). - Visit duration (
visitDuration-any): Mean visit length (see Durations). - Fixation count (
fixationCount-any): Total fixations (see Counts & Latency). - Average fixation duration (
fixationDuration-any): Mean fixation length (see Durations). - Time to first fixation (
timeToFirstFixation-any): Initial latency (see Counts & Latency). - First fixation duration (
firstFixationDuration-any): Latency of first fixation (see Durations). - RQA Recurrence (
rqaRec): Recurrence Rate from recurrence analysis (see RQA Metrics). - RQA Determinism (
rqaDet): Proportion of recurrence points forming diagonal lines (see RQA Metrics). - RQA Laminarity (
rqaLam): Proportion of recurrence points forming vertical lines (see RQA Metrics).
- Time on stimulus (
- Edit metric library…: Opens the Metric Library modal where you can customize parameters or define custom aggregate metrics.
Visualisation
Configure the visual display format.
- Select view:
- Heatmap matrix: Renders a square correlation matrix grid where rows and columns represent the selected metrics. Cell color intensity represents the correlation coefficient (ranging from -1.0 to +1.0).
- Scatterplot matrix (SPLOM): Renders a Scatter Plot Matrix showing pairwise scatter plots with linear regression lines for each pair of metrics, highlighting outliers and individual distributions.
Correlation method
Select the statistical algorithm used to calculate correlation coefficients:
- Pearson: Measures the linear relationship between metrics. Best for normally distributed, continuous data.
- Spearman: Measures monotonic relationships using ranks. Resilient to non-linear associations and outliers.
Time range [ms]
Filter the temporal range.
- Start: Limit the minimum time boundary (ms).
- End (0 = Auto): Limit the maximum time boundary (ms) or leave at 0 for automatic duration matching.
Areas of Interest
Filters which Areas of Interest (AOIs) are active for the metric calculations. If AOIs are selected, only fixations landing within those boundaries are included in the scalar metric calculations.
- Configure AOI Library…: Opens the AOI Library to customize names, colors, and visibility.
Export
Located at the bottom of the Pane:
- Download plot…: Opens the Figure Export dialog to save the correlation plot as a PNG or JPG.
- Export Data: To export raw metric correlation values as CSV, see Metric Data Export.
Interpretation
Use Metric Correlation to:
- Discover behavioral trends: For instance, a strong negative correlation between average fixation duration and visit count can reveal a scanning strategy of rapid, frequent visits vs. prolonged, deep inspections.
- Relate visual metrics to complexity: Assess if repetitive gaze behaviors (RQA Recurrence Rate) correlate with longer average fixation durations, suggesting visual confusion or detailed visual processing.
- Identify outliers: Scatter Plot Matrix (SPLOM) view plots individual participants as dots, helping identify anomalous participants who deviate from overall group trends.
- Compare cohort stats: Select Spearman vs. Pearson correlation coefficients to assess the impact of extreme values or non-linearities on behavior trends.