> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/getting-started/analysis-overview.md).

# Analysis overview

Create an analysis in iMotions Lab and get an overview of the analysis tools, from replays and annotations to signal processing and eye tracking.

In iMotions Lab, you analyze recorded data in an *analysis*: a selection of respondents and stimuli from a study, together with the signal processing you want to apply. This article explains how to create an analysis and gives an overview of the analysis tools, with links to the articles that describe each tool.

You can review a respondent's recording in the [Respondent Replay](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/respondent-replay.md) as soon as it has been recorded. For everything else, such as annotations, aggregated results, signal processing and eye tracking analysis, create an analysis first.

## Creating an analysis

You can create an analysis for a study that has at least one recorded respondent. You can change an analysis at any time after you have created it.

1. In the **Library**, point to the study and click the add analysis button that appears next to the study name.

   ![The add analysis button next to the study name in the Library](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0b352d688758cd75a0a20712355835132fb525d1%2Flab_library_add-analysis-button.png?alt=media)
2. On the **Segmentation Settings** tab, enter a **Name** and, optionally, **Comments**. Click **Next**.

   ![The Segmentation Settings tab with Name, Study and Comments](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-bc29292a83880bcb1ccf58c54072e96cd0ce46d8%2Flab_analysis_new-analysis_segmentation-settings.png?alt=media)
3. On the **Segmentation Criteria** tab, select the respondents to include. Select or clear them in the **Respondents** list, or filter them by **Gender**, **Age from** and **Age to**, **Flow** and **Group**. Under **Advanced Segmentation**, you can combine criteria such as respondent variables with an **Operator**. Click **Next**.

   ![The Segmentation Criteria tab with Gender, Age, Flow, Group and Advanced Segmentation, and the respondent check boxes](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-7eed6cea43be14ec7c42884911d68d1068ed795c%2Flab_analysis_new-analysis_segmentation-criteria.png?alt=media)
4. On the **Signal Processing** tab, add the signal processing you want to run. Click the plus button next to **Active flows**, select the **Devices** and the **Algorithm**, and adjust the **Parameters** as needed. Repeat for each algorithm, then click **Next**. The available devices and algorithms depend on the sensors in the study; see [Signal processing (R Notebooks)](#signal-processing-r-notebooks).

   ![The Signal Processing tab with an active flow, the Devices and Algorithm lists and the parameters of the algorithm](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-3c3c3b7d2d50ab20bda02a5391117e19df4fd3b7%2Flab_analysis_new-analysis_signal-processing.png?alt=media)
5. On the **Select Stimuli** tab, select the stimuli to include. All stimuli are selected by default, and at least one must be selected. Select only the stimuli you need, so that the analysis runs faster.

   ![The Select Stimuli tab with Select all and the stimuli of the study](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-8aad5f946beb4d3bd7a6ee38fd1ec3c2b8bc56d7%2Flab_analysis_new-analysis_select-stimuli.png?alt=media)
6. Click **Add**.

The analysis appears below the study in the **Library**. When you select it, the analysis tools appear at the bottom of the main window, and only the respondents and stimuli in the analysis are shown.

## Analysis tools

![An analysis selected in the Library, with Open analysis and the analysis tools at the bottom of the main window](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-c9f60bee620508319a2e3a9ca9e2bf3acf7ee2a6%2Flab_analysis_main-window_tools.png?alt=media)

The tools that are available depend on the data and stimuli in the analysis. Tools that do not apply are dimmed.

| Tool                  | What it does                                                                                                                                                                       |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Replay**            | Review the data of individual respondents; see [Respondent Replay](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/respondent-replay.md).          |
| **Aggregate**         | Review the data of all respondents and plot heatmaps; see [Aggregate Replay](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/aggregate-replay.md). |
| **AOIs**              | Create areas of interest and calculate AOI metrics; see [How to Create AOIs](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/how-to-create-aois.md).         |
| **Gaze Map**          | Map eye tracking data from dynamic stimuli onto reference images; see [Gaze Mapping](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md).            |
| **Survey**            | Review survey answers; see [Survey Results](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/survey-results.md).                                    |
| **Signal Processing** | Add or change the signal processing of the analysis.                                                                                                                               |
| **Reports**           | Open the reports of the signal processing; see [iMotions Reports](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/my-library/imotions-reports.md).            |
| **Dashboard**         | Visualize results in charts; see [Data Visualization Dashboard](https://help.imotions.com/lab/analysis/data-visualization-dashboard.md).                                           |
| **Export**            | Export data and results; see [Export: Sensor Data](https://help.imotions.com/lab/exports/export-sensor-data.md).                                                                   |

### Replays, markers and annotations

The [replay and analysis windows](https://help.imotions.com/lab/analysis/replay-and-analysis-windows.md) show the recorded data over time. In these windows, you create and edit [event markers](https://help.imotions.com/lab/analysis/using-event-markers.md), which mark points in time, and [annotations](https://help.imotions.com/lab/analysis/using-annotations.md), which mark periods of time. Results are calculated for each annotation, based on the signal processing and AOIs in the analysis, and are shown in the replay and included in the exports.

### Signal processing (R Notebooks)

Signal processing runs [R Notebooks](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/what-are-r-notebooks.md): scripts that process the data of a specific sensor and calculate metrics from it. For an overview, see [Biosensor Analysis](https://help.imotions.com/lab/analysis/biosensor-analysis.md). R Notebooks are available for:

* Eye tracking: [blink detection](https://help.imotions.com/lab/analysis/eye-tracking/other-eye-tracking-analysis/r-notebook-eye-tracking-based-blink-detection.md)
* Facial expressions: [thresholding and aggregation](https://help.imotions.com/lab/analysis/facial-expression-analysis/r-notebook-fea-facial-expression-analysis-thresholding-and-aggregation.md)
* Voice: [voice analysis](https://help.imotions.com/lab/analysis/voice-analysis.md)
* GSR: [peak detection](https://help.imotions.com/lab/analysis/eda-gsr/gsr-r-notebooks-peak-detection-and-aggregation.md) and [signal quality](https://help.imotions.com/lab/analysis/eda-gsr/gsr-r-notebooks-gsr-signal-quality.md)
* EEG: [power spectral density](https://help.imotions.com/lab/analysis/eeg/r-notebook-eeg-power-spectral-density-psd.md), [intersubject correlation](https://help.imotions.com/lab/analysis/eeg/r-notebook-eeg-intersubject-correlation-isc.md) and [frontal asymmetry](https://help.imotions.com/lab/analysis/eeg/r-notebook-eeg-frontal-asymmetry-fa.md)
* Respiration: [respiration processing](https://help.imotions.com/lab/analysis/respiration/r-notebooks-respiration-respiration-processing.md) and [moment-to-moment aggregation](https://help.imotions.com/lab/analysis/respiration/r-notebooks-respiration-moment-to-moment-aggregation.md)
* ECG: [heart rate and HRV](https://help.imotions.com/lab/analysis/biosensor-analysis/r-notebooks-ecg-heart-rate-and-hrv-processing.md)
* EMG: [EMG processing](https://help.imotions.com/lab/analysis/biosensor-analysis/r-notebook-emg-processing.md)
* Skin temperature: [skin temperature](https://help.imotions.com/lab/analysis/biosensor-analysis/r-notebook-skin-temperature.md)
* SpO2: [oxygen saturation](https://help.imotions.com/lab/analysis/biosensor-analysis/r-notebook-spo2-oxygen-saturation.md)

### Eye tracking analysis

* **Areas of interest (AOIs)** are regions of a stimulus for which iMotions calculates [AOI metrics](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/aoi-metrics.md), such as time to first fixation and dwell time. You create them with the AOI editor or with automated AOIs; see [How to Create AOIs](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/how-to-create-aois.md).
* [**Heatmaps**](https://help.imotions.com/lab/analysis/eye-tracking/heatmaps.md) **and** [**scan paths**](https://help.imotions.com/lab/analysis/eye-tracking/scan-paths-and-individual-heatmaps.md) show where respondents looked on static stimuli.
* [**Gaze mapping**](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md) maps eye tracking data from dynamic stimuli, such as screen and website recordings or recordings from eye tracking glasses, onto reference images. This is needed for aggregated results such as heatmaps and scan paths on these stimuli.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/getting-started/analysis-overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
