1. Home
  2. Explore
  3. Statistics
  4. Statistical Brain Imaging

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Statistical Brain Imaging

Statistical Methods for Individualized Neuroimaging

Individualized analysis as a goal in fMRI

STATMIND refers to Statistical Methods for Individualized Neurodiscovery. Its central focus is the development, dissemination, and application of statistical models for fMRI and other functional neuroimaging technologies.

These methods aim to improve:

  • Accuracy: Estimates should more closely represent the true neural signals in the data.

  • Statistical power: Analyses should detect meaningful effects without requiring unnecessarily large samples.

  • Reliability: Findings should be consistent across analyses, samples, and settings.

  • Generalizability: Results should extend beyond narrowly defined research populations.

  • Individual-level interpretation: Models should represent meaningful differences between people rather than treating the group average as representative of every individual.

Traditional fMRI research has often emphasized group-level averages. Group averaging can identify broad patterns shared across participants, but it can obscure important individual differences. A brain region that is optimal for one person may not be optimal for another, and the same functional network may have somewhat different spatial organization across individuals.

Individualized analysis is therefore especially important when fMRI is being considered for clinical translation, such as:

  • Clinical trials

  • Diagnostic or prognostic biomarkers

  • Treatment selection

  • Monitoring disease progression

  • Guided brain stimulation

  • Personalized therapeutic interventions

Individualized neuroimaging attempts to estimate brain structure and function for each person rather than assuming that group-average maps accurately describe every individual.


Precision medicine and guided brain stimulation

The movement from group averages toward individualized neuroimaging is closely related to precision medicine. Precision medicine aims to select interventions based on the characteristics of a particular patient rather than applying the same treatment strategy to everyone.

fMRI-guided brain stimulation

One clinical application is the use of fMRI to identify a precise stimulation target in the brain. Brain stimulation may be directed toward a cortical location expected to produce the greatest therapeutic benefit.

This approach is particularly relevant to treatment-resistant depression, where researchers are investigating whether individualized brain measurements can improve the targeting of stimulation.

Earlier approaches often relied on group-average resting-state connectivity. These methods assumed that the location showing the strongest or most relevant connectivity in the average participant would also be appropriate for an individual patient. However, this assumption can be problematic because:

  • Brain anatomy differs across people.

  • Functional networks are not located identically in every brain.

  • Connectivity patterns can vary substantially between individuals.

  • The optimal stimulation site for one patient may not be optimal for another.

An individualized approach instead uses each patient’s resting-state data to estimate their own functional organization. Individualized parcellations, which divide the brain into functionally meaningful regions, can then be used to guide stimulation more precisely.

Why individualized targeting matters

If a treatment depends on stimulating a particular functional region, even a modest targeting error could reduce effectiveness. Personalized resting-state analyses may therefore help:

  1. Identify the patient’s relevant functional network.

  2. Locate the network or cortical region in that individual.

  3. Select a stimulation target based on the person’s own brain organization.

  4. Potentially improve treatment response and reduce ineffective interventions.

This is an example of how improvements in statistical modeling can support clinical applications of fMRI.


Clinical utility of task fMRI and resting-state fMRI

fMRI has historically been used in pre-surgical planning, especially through task-based fMRI. Task fMRI presents participants with a known activity or stimulus—for example, a language, motor, or memory task—and measures changes in brain activity associated with that task.

Task fMRI

Task fMRI is statistically more constrained because researchers generally know:

  • What task the participant is performing

  • When task events occur

  • Which experimental conditions are being compared

  • At least part of the expected temporal structure of the data

These known features make it easier to specify a statistical model.

Resting-state fMRI

In resting-state fMRI, participants are not given a structured task. They may be instructed simply to remain still, keep their eyes open or closed, and allow their minds to wander.

Resting-state analysis is more difficult because researchers have less direct knowledge about:

  • What the participant is thinking or doing at each moment

  • Which neural processes are producing a given signal

  • How spatially distributed networks are organized

  • How temporal fluctuations should be modeled

Resting-state data therefore require assumptions about both:

  • Spatial organization: Which brain locations or regions function together

  • Temporal organization: How signals evolve and depend on one another over time

The spatial and temporal components interact to generate the observed fMRI signal, making the statistical problem more complex.

Historical pattern of clinical development

Clinical interest in fMRI initially increased because of its apparent potential for translational applications. However, enthusiasm declined in the early 2000s after clinical trials did not consistently demonstrate successful results.

More recently, publications involving clinical or translational fMRI have increased again. Improvements in statistical analysis—especially for resting-state data—are one important reason for this renewed interest.

Resting-state fMRI has generally lagged behind task fMRI in clinical utility because the data are more difficult to model. As statistical techniques become better at estimating an individual’s functional networks and connectivity, resting-state fMRI may become more clinically meaningful.

Amount of resting-state data

Reliability also depends on the amount of data collected. Many resting-state studies collect only a small amount of scanning data, sometimes approximately five to ten minutes. This is considerably less than the amount of data sometimes collected in task studies, which may involve an hour or more of scanning.

Short resting-state scans can limit:

  • Reliability of connectivity estimates

  • Stability of individualized network maps

  • Ability to distinguish signal from noise

  • Generalizability of findings across repeated measurements

Collecting more resting-state data is one potential way to improve reliability, although better statistical models are also needed.


Spatial statistical models

A major area of methodological development involves spatial models. These models explicitly incorporate information about the spatial organization of the brain.

Limitations of massive univariate analysis

A conventional fMRI analysis may treat every voxel as a separate statistical problem. This is often called a massively univariate approach because a separate model is estimated at a very large number of spatial locations.

This strategy can create several problems:

  • It ignores relationships between neighboring brain locations.

  • It requires correction for a large number of statistical tests.

  • It may have reduced power after multiple-comparisons correction.

  • It can produce noisy or unstable estimates.

  • It may fail to represent the fact that neural activity is spatially organized.

How spatial models improve analysis

Spatial models treat the brain as a connected or structured system. They include model components that describe relationships between locations, such as the tendency for nearby or functionally related areas to have similar signals.

This can lead to:

  • More accurate estimates

  • Improved statistical power

  • Better spatially coherent maps

  • More effective use of information across locations

  • Reduced dependence on separate tests at every voxel

Rather than analyzing each location independently, a spatial model estimates the locations collectively as a related multivariate entity.

Spatial models can be used for both:

  • Task fMRI, where they help estimate activation patterns

  • Resting-state fMRI, including independent component analysis and network estimation

Multiple comparisons

When thousands of hypotheses are tested simultaneously, some apparently significant results may arise by chance. Multiple-comparisons correction attempts to control this problem.

A unified spatial model can reduce the need to conduct a separate hypothesis test at every location. This does not eliminate the need for statistical rigor, but it allows the spatial structure of the data to be modeled directly rather than handled only after a large collection of independent tests has been performed.


Hierarchical Bayesian models and population-derived priors

Another major approach uses hierarchical Bayesian models designed for subject-level analysis.

Basic idea of a prior

In Bayesian statistics, a prior distribution represents information about plausible parameter values before incorporating the data from the specific subject being analyzed. The data are then combined with the prior to produce a posterior distribution.

In this approach, population data are used to estimate a prior for a new individual. For example, a large collection of healthy young adults can provide information about common resting-state network patterns.

Useful population-derived priors can be created for:

  • Resting-state network maps

  • Functional connectivity matrices

  • Connectivity between resting-state networks

  • Task activation patterns

  • Other spatial or functional parameters

The population data may come from large repositories such as the Human Connectome Project or other shared datasets.

Subject-level use of population information

The population-derived prior is estimated in a first step and then treated as known information during the analysis of an individual subject.

The general process is:

  1. Assemble a large reference dataset.

  2. Estimate how the parameter of interest varies across that population.

  3. Construct a prior distribution that reflects the population’s spatial and functional patterns.

  4. Apply that prior to a new subject’s data.

  5. Combine the prior with the subject’s observed data to obtain cleaner individual-level estimates.

This differs from simply fitting one model to all subjects simultaneously. The approach first learns population information and then uses that information to improve subject-level inference.

Noise reduction and shrinkage

Population-derived priors can reduce noise by encouraging estimates toward values that are plausible based on previous data. This process is often described as shrinkage.

However, indiscriminate shrinkage toward the group average can erase real individual differences. A useful prior must therefore distinguish between:

  • Areas where participants are relatively similar

  • Areas where participants show substantial variability

The models described in the source use spatially varying priors. These priors change across the brain depending on the amount of observed population variation.

  • In regions with little individual variation, stronger shrinkage can reduce noise.

  • In regions with substantial individual variation, weaker shrinkage allows the subject’s data to have greater influence.

This produces a balance between stability and personalization.

A well-designed prior should reduce noise where people are similar while preserving individual differences where people genuinely differ.

Bayesian versus frequentist analysis

Bayesian methods have become increasingly common in statistics and many scientific fields, but frequentist approaches remain dominant in neuroimaging. This continued dominance is partly due to:

  • Historical training practices

  • Existing textbooks

  • Familiarity among researchers

  • Established neuroimaging software

  • Institutional and disciplinary inertia

The choice should not be framed as a simple conflict between Bayesian and frequentist statistics. Both frameworks can produce useful or poorly designed models.

The more important principle is whether the model:

  • Represents the structure of the data accurately

  • Accounts for spatial relationships

  • Handles temporal dependence appropriately

  • Preserves meaningful heterogeneity

  • Avoids unrealistic assumptions

  • Produces interpretable and reliable estimates

A Bayesian model is not automatically superior, and a frequentist model is not automatically inadequate. Model quality depends on how well the assumptions match the data and the scientific question.


Temporal autocorrelation and prewhitening

fMRI produces time-series data, meaning that measurements collected close together in time are often related.

Residuals in fMRI regression

In a regression model, residuals are the portions of the observed data that remain unexplained by the predictors. A classic regression model may assume that residuals are independent and identically distributed, commonly abbreviated as IID.

This assumption means that residuals:

  • Are independent from one another

  • Come from the same probability distribution

  • Have consistent statistical properties over observations

For fMRI time series, this assumption is often unrealistic. The residual at one time point may be related to residuals at nearby time points. This relationship is called temporal autocorrelation.

If autocorrelation is ignored, the model may:

  • Underestimate uncertainty

  • Produce inaccurate standard errors

  • Inflate apparent statistical significance

  • Misrepresent the reliability of activation estimates

Prewhitening

Prewhitening is a procedure intended to remove or reduce temporal dependence in the residuals. Conceptually, the observed regression equation can be transformed by multiplying both sides by a matrix that accounts for the estimated temporal covariance:

Wy=WXβ+WεW y = W X\beta + W\varepsilonWy=WXβ+Wε

where:

  • yyy is the observed fMRI time series

  • XXX is the design matrix

  • β\betaβ contains the regression parameters

  • ε\varepsilonε represents the residuals

  • WWW is the prewhitening matrix

The goal is for the transformed residuals to more closely satisfy the independence assumption.

Historical prewhitening methods have sometimes used overly simple models of temporal autocorrelation. More accurate methods attempt to represent the actual dependence structure in the data rather than imposing a convenient but unrealistic pattern.

The need for improved temporal modeling is separate from whether the analysis is Bayesian or frequentist. A model can be frequentist and still handle autocorrelation well, just as a Bayesian model can handle it poorly if its assumptions are inappropriate.


Spatial and temporal modeling problems

Two broad types of dependence are especially important in fMRI:

Spatial dependence

Spatial dependence occurs because signals at neighboring or functionally related locations are not independent. Brain activity tends to have organized spatial patterns rather than appearing as unrelated voxel-by-voxel fluctuations.

Temporal dependence

Temporal dependence occurs because measurements taken close together in time are correlated. The fMRI signal is a continuous time series rather than a collection of independent observations.

Consequences of ignoring dependence

When either form of dependence is ignored, researchers may obtain:

  • Biased parameter estimates

  • Incorrect uncertainty estimates

  • Inflated false-positive rates

  • Reduced statistical power

  • Misleading activation or connectivity maps

  • Poor individual-level predictions

Understanding these dependencies is a central part of rigorous fMRI analysis.


Learning the statistical nuances of fMRI

Modern software has made fMRI analyses easier to run. Packages such as SPM, FSL, and AFNI allow researchers to perform sophisticated workflows without implementing every statistical procedure from scratch.

This accessibility has several benefits:

  • More researchers can analyze neuroimaging data.

  • More scientific questions can be investigated.

  • Methods can be shared across laboratories.

  • Researchers can build on established software.

However, ease of use also creates a risk: researchers may perform analyses without understanding the assumptions behind them.

Important areas of statistical knowledge include:

  • Regression modeling

  • Multiple-comparisons correction

  • Spatial dependence

  • Temporal autocorrelation

  • Bayesian modeling

  • Hierarchical models

  • Reliability and power

  • Individual differences

  • Data preprocessing

  • Reproducibility

A strong statistical foundation helps researchers understand not only which button or command to use, but also:

  • Why a method is appropriate

  • What assumptions it makes

  • When those assumptions fail

  • How the results should be interpreted

  • Which alternatives may be more suitable

Several types of methodological literature are especially useful for building this understanding:

  • General overviews of statistical fMRI analysis

  • Work on multiple-comparisons correction

  • Research on prewhitening and temporal autocorrelation

  • Studies documenting failures of cluster-based inference

  • Papers proposing more accurate alternatives to standard modeling approaches


Interdisciplinary training

Neuroimaging research requires expertise from several domains, including:

  • Neuroscience

  • Experimental design

  • Statistics

  • Computer science

  • Clinical science

  • Genetics

  • Data management

  • Reproducible research

A researcher trained primarily in cognitive theory may understand the scientific question and experimental design deeply but need additional training in statistical modeling. Conversely, a statistician may understand advanced models but need to learn the biological and clinical context in which those models are applied.

Complete mastery of every field is unrealistic. Nevertheless, researchers benefit from learning enough about adjacent disciplines to:

  • Communicate effectively with collaborators

  • Recognize inappropriate assumptions

  • Interpret results in context

  • Identify scientifically meaningful questions

  • Understand limitations in data collection and preprocessing

  • Make informed methodological decisions

A statistician working on Alzheimer’s disease, for example, may never become an Alzheimer’s disease specialist but can still acquire enough domain knowledge to build better models and interpret findings responsibly.

Interdisciplinary expertise is therefore best understood as a continuum. Researchers should develop substantial depth in their primary field while gaining practical understanding of the fields on which their work depends.


Practical computational education

Advanced neuroimaging methods are difficult to learn through lectures alone. Students need opportunities to apply methods to real or realistic datasets.

Notebook-style learning

Notebook-based instruction combines:

  • Executable code

  • Explanations of the method

  • Data-processing steps

  • Model fitting

  • Visualizations

  • Interpretation of output

In R, an analogous format is an R Markdown report or package vignette. Such documents allow students to see both the computational implementation and the reasoning behind the analysis.

Useful educational materials should show:

  1. How the data are loaded.

  2. How the data are prepared.

  3. Which model is fitted.

  4. Why the model is appropriate.

  5. How the output is visualized.

  6. How the results are interpreted.

  7. What limitations or alternatives should be considered.

This format is valuable because students can revisit the material, rerun the code, modify the analysis, and take the workflow home.

Lecture-and-lab instruction

Advanced statistical training is more effective when lectures are paired with hands-on laboratory sessions. A lecture can introduce concepts such as spatial Bayesian models, but a lab allows students to encounter practical issues involving:

  • Data formats

  • Computational requirements

  • Software installation

  • Model specification

  • Debugging

  • Visualization

  • Interpretation

  • Reproducibility

Extended interaction with instructors and access to office hours can further support learning. Neuroimaging methods often contain enough computational and statistical nuance that observation alone is insufficient.


Reproducibility and open science

Reproducibility means that another researcher can use the documented data, code, environment, and procedures to reproduce an analysis or understand how a result was generated.

Reproducible research requires more than making a manuscript available. It may involve:

  • Clearly organized code

  • Documented preprocessing

  • Version-controlled scripts

  • Accessible data or clearly described data restrictions

  • Recorded software versions

  • Specified model settings

  • Automated analysis pipelines

  • Reproducible computational environments

  • Transparent reporting of exclusions and decisions

Reproducibility becomes more challenging when an entire laboratory must coordinate shared practices. An individual researcher may be able to document one project carefully, but a lab also needs an infrastructure for:

  • Storing and sharing code

  • Organizing datasets

  • Tracking changes

  • Maintaining consistent environments

  • Linking analyses to manuscripts

  • Training new lab members

Containerized environments

Container systems can simplify reproducibility by packaging software, dependencies, and analysis tools into a controlled environment. A neuroimaging container may include widely used packages such as AFNI, FSL, and SPM.

The advantages include:

  • Reduced installation difficulties

  • More consistent software environments

  • Fewer dependency conflicts

  • Easier sharing of complete workflows

  • Better preservation of the computational conditions under which results were produced

Platforms such as NeuroDesk illustrate how containerized environments can make neuroimaging tools more accessible. A complete workflow can combine the data, scripts, software environment, and documentation so that another researcher can inspect or rerun the analysis.

Platforms such as Brainlife similarly support the goal of democratizing open neuroimaging science by providing documented, reproducible analysis workflows.


Large neuroimaging databases

Large shared datasets are important resources for both scientific discovery and statistical method development. Examples include:

  • Human Connectome Project: A highly standardized resource focused largely on healthy adults.

  • ABIDE: A consortium dataset involving autism research.

  • ADNI: A large Alzheimer’s disease and aging resource.

  • Other institutional, disease-specific, and population-based repositories.

Researchers who do not collect their own data can use these datasets to:

  • Validate new statistical methods

  • Compare models across participants

  • Estimate population-level variation

  • Develop informative priors

  • Test generalizability

  • Investigate disease-related patterns

  • Study individual differences

Large datasets are not automatically sufficient for every scientific question. A very large sample may still be limited if it represents only a narrow population or if the data are difficult to harmonize.


Challenges of consortium and longitudinal datasets

Large datasets often combine information collected:

  • At different sites

  • On different scanners

  • With different pulse sequences

  • Across different years

  • Using different preprocessing pipelines

  • From populations with different demographic and environmental characteristics

Acquisition heterogeneity

In a dataset such as ADNI, one may encounter differences involving:

  • Scanner manufacturer and model

  • Site-specific acquisition procedures

  • Single-band versus multiband imaging

  • Changes in pulse sequences

  • Hardware upgrades

  • Software upgrades

  • Changes in participant recruitment

These differences can make it difficult to determine whether an observed change reflects biology or measurement.

Longitudinal confounding

Longitudinal studies follow participants over time. During that period, two kinds of change may occur simultaneously:

  1. Changes in the individual: Aging, disease onset, disease progression, or treatment.

  2. Changes in acquisition: New scanners, revised protocols, equipment upgrades, or changes in preprocessing.

The analytical challenge is to disentangle biological change from changes caused by the measurement system.

For example, an apparent change in functional connectivity between two time points could result from:

  • True disease progression

  • Normal aging

  • A change in scanner hardware

  • A different acquisition sequence

  • Site-specific processing

  • A combination of these factors

Site-related population differences

Site effects are not necessarily purely technical. Different sites may serve populations that differ in:

  • Demographics

  • Socioeconomic conditions

  • Climate

  • Pollution exposure

  • Health-care access

  • Recruitment practices

  • Disease prevalence

  • Cultural and environmental experiences

Consequently, statistical harmonization may accidentally remove real biological or social differences if it treats every site difference as unwanted technical noise.

Harmonization is not simply the removal of all site differences. Researchers must distinguish technical variation from genuine differences associated with the populations and environments represented by each site.

Infrastructure requirements

Large datasets require substantial infrastructure, including:

  • Storage capacity

  • Data-transfer systems

  • Backup procedures

  • Computational resources

  • Access controls

  • Data-sharing policies

  • Personnel who can manage the data

Institutions must determine how these resources are funded and maintained. They also need policies for sharing data internally when multiple researchers wish to use the same repository.


The value and limits of large datasets

Large consortium datasets are powerful but should not replace all single-site data collection.

Strengths

  • Increased sample size

  • Greater diversity of participants and sites

  • More opportunities for validation

  • Access for researchers who do not collect data

  • Improved method development

  • Possibility of studying rare conditions

Limitations

  • Heterogeneous acquisition protocols

  • Scanner and site effects

  • Complex preprocessing requirements

  • High storage and computing demands

  • Potential confounding between site and participant characteristics

  • Difficulty determining whether harmonization has removed meaningful variation

  • Risk of making compromises because the dataset is too complex to process perfectly

Researchers may be tempted to simplify the analysis merely to make a consortium dataset manageable. If the resulting compromises are not fully assessed, their effects on the conclusions may remain unknown.

Single-site datasets can complement consortium resources because they often provide:

  • More consistent acquisition

  • Better control over scanning protocols

  • Easier interpretation of site effects

  • More uniform preprocessing

  • A clearer basis for longitudinal comparisons

The strongest research strategy may combine the broadness of consortium data with the consistency of carefully collected single-site data.


Making the most of small and specialized datasets

The value of a dataset is not determined only by its number of participants. A carefully collected small dataset may provide important scientific information, particularly when the population is rare or difficult to recruit.

Example: rare neurodegenerative disease

A longitudinal dataset involving approximately sixteen individuals with amyotrophic lateral sclerosis and approximately twenty-two age-matched healthy controls illustrates this point.

Although the sample was small, it had important strengths:

  • The disease was rare.

  • The disease process progressed rapidly.

  • Participants were followed over multiple years.

  • Repeated neuroimaging provided information about disease progression.

  • The data had been collected carefully, even if the acquisition methods were not modern.

Advanced statistical processing, including spatial Bayesian methods, allowed researchers to extract new information about the disease process from the existing data.

This example demonstrates that:

  • Small samples can be valuable when the research population is difficult to obtain.

  • Longitudinal depth can partly compensate for limited sample size.

  • Older data can remain scientifically useful.

  • Better analysis can reveal information that was not accessible when the data were first collected.

  • Statistical innovation and data-collection quality both matter.

Better data versus better analytics

Scientific progress depends on both:

  • Better acquisition: Improved scanners, pulse sequences, denoising, and acquisition strategies.

  • Better analytics: More accurate models that account for spatial structure, temporal dependence, heterogeneity, and individual differences.

Modern acquisition methods, including emerging multi-echo approaches, may improve signal quality and denoising. However, existing datasets should not be discarded simply because they were collected using older protocols. Careful analysis can still extract useful information from them.

A practical principle is to make the most of the data that are available while continuing to improve future data collection.


Key principles

Individual differences should be modeled rather than treated as noise.

Statistical models should respect the spatial and temporal structure of fMRI data.

Bayesian and frequentist methods should be evaluated by the quality of their assumptions and fit to the data, not by framework preference alone.

Large datasets increase opportunity but also introduce technical, biological, and logistical complexity.

Reproducible analysis requires coordinated code, data, software, documentation, and training practices.

Practical experience with real datasets is essential for learning advanced neuroimaging statistics.

The broader objective is to develop neuroimaging analyses that are more accurate, reliable, reproducible, clinically useful, and capable of explaining meaningful variation between individuals.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent