-
Notifications
You must be signed in to change notification settings - Fork 9
LMMmap
LMMmap is the output of iMap4 core function imapLMM. The fields of LMMmap are nearly identical to the output from LinearMixedModel class. For each modeled pixel, iMap4 saves the model criterion, variances explained, error sum of squares, coefficient estimates and their covariance matrix for both fixed and random effects, and the ANOVA results on the LMM. Additional modeling specifications, as well as other model parameters including LMM formula, design matrix for fixed and random effect, and residual degrees of freedom, are also saved in LMMmap. Linear contrasts and other analyses based on variance or covariance can be performed afterward from the model fitting information. Any other computation on the LinearMixedModel output can also be replicated on LMMmap.
For example, the LMMmap in Example 1 is shown below:
% LMMmap =
%
% runopt: [1x1 struct]
% VariableInfo: [6x4 dataset]
% Variables: [118x6 dataset]
% FitMethod: 'REML'
% Formula: [1x1 classreg.regr.LinearMixedFormula]
% modelX: [118x6 double]
% FitOptions: {'DummyVarCoding' 'effect' 'Fitmethod' 'REML'}
% modelDFE: 112
% CoefficientNames: {1x6 cell}
% Anova: [1x1 struct]
% SinglePred: [1x1 struct]
% RandomEffects: [1x1 struct]
% CoefficientCovariance: [4-D double]
% MSE: [205x256 double]
% SSE: [205x256 double]
% SST: [205x256 double]
% SSR: [205x256 double]
% Rsquared: [2x205x256 double]
% ModelCriterion: [4x205x256 double]
% Coefficients: [4-D double]
This wiki is adapted from the original iMap4 guidebook.
If you have any questions about the iMap4 usage, please email [email protected]
Getting started
Theory
- Linear Mixed Models
- Pixel Wise Modeling and non-parametric statistics
- Family-wise error rate (FWER) under H0
- Power analysis of iMap4
Data structures and function usage
- Core functions
- Input Matrix
- LMMmap
- StatMap, Posthoc and figure outputs
- Other useful features and function
Example 1 (GUI)
- Background of Example 1
- Using the GUI (1): Import Data and label columns
- Using the GUI (2): Parameters and Conditions
- Using the GUI (3): Create smoothed fixation matrix
- Using the GUI (4): Optional for preprocessing
- Using the GUI (5): Descriptive Statistics Report
- Using the GUI (6): Spatial Mapping Using Linear Mixed Models
- Using the GUI (7): Hypothesis testing and Display results
- Using the GUI (8): Post-hoc analysis
Example 2 (Code)
Example 3 (Code)
Example 4 (Code)
Future development
Additional information