A Tutorial on Modeling fMRI Data using a General Linear Model
preprint
OA: closed
CC-BY-4.0
Abstract
Functional magnetic resonance imaging (fMRI) has quickly become the most commonly used method among scientists in many disciplines for examining brain function. However, there are challenges in translating the underlying statistics from specialized fMRI analysis tools to a more general statistical language such as R. This paper translates key terminology and is a self-contained tutorial of how to model a single voxel of fMRI data using the nlme mixed effects framework in R. This translation is not only interesting pedagogically, but many advanced statistical modeling techniques of interest in psychology, for example, growth models that are implemented using structural equation modeling, are unavailable for fMRI. This need for more modeling flexibility to advance the study of developmental cognitive neuroscience, and similarly the trajectories of aging and neurodegenerative change, also motivates this tutorial as a first step to understanding how to script more complicated analyses. Finally, this tutorial is written using Rmarkdown (see Supplemental Materials), so that it is itself an example for writing reproducible analysis.
My notes (saved in your browser only)
Citation neighborhood (no data yet)
We don't have any in-corpus citations linked to this paper yet. The paper's references may be in our DB but unresolved to ``paper_id`` (resolution happens at ingest when the cited DOI matches a row we already have). Run the cross-source citation reconcile pass to retry.
Source provenance
- europepmc
- last seen: 2026-05-19T01:45:01.086888+00:00
- unpaywall
- last seen: 2026-05-22T02:00:06.705733+00:00
License: CC-BY-4.0