Consider an experiment where there are subjects and that for each subject, , the preprocessed FMRI data is (a vector of time points), the design matrix is and the parameter estimates are (for ). The two-level model for this experiment is
where specifies the single-subject residuals, specifies the residuals of the group activation (parameter) scores, and where