Differences between revisions 9 and 27 (spanning 18 versions)
Revision 9 as of 2008-12-05 20:14:53
Size: 725
Editor: crash
Comment:
Revision 27 as of 2024-05-01 15:06:44
Size: 2158
Editor: DougGreve
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
These are examples that have been worked out by creating FSGD files and contrasts for testing various hypotheses. These are examples of [[FsgdFormat|FreeSurfer Group Descriptor (FSGD)]] files and contrasts for testing various hypotheses. !FreeSurfer can '''automatically''' construct design matrices from an FSGD file. The FSGD file is usually easier to construct than the design matrix. The FSGD file is used as input to several !FreeSurfer programs (mainly mri_glmfit and mris_preproc). Note that you can always specify you own matrix using the --X option to mri_glmfit. See also PairedAnalysis and RepeatedMeasuresAnova and LongitudinalStatistics.
Line 3: Line 3:
 * [[FsgdfOSGM|One Group, Zero Covariates (OSGM = One-Sample Group Mean)]]
 * [[Fsgdf1G1V|One Group, One Covariate]]
 * [[Fsgdf2G0V|Two Groups (1 Factor, Two Levels), Zero Covariates]]
 * [[Fsgdf2G1V|Two Groups (1 Factor, Two Levels), One Covariate]]
 * [[Fsgdf2G2V|Two Groups (1 Factor, Two Levels), Two Covariates]]
 * [[Fsgdf3G0V|Three Groups (1 Factor, Three Levels), Zero Covariates]]
 * [[Fsgdf4G0V|Four Groups (2 Factors, Two Levels), Zero Covariates]]
 * [[Fsgdf4G1V|Four Groups (2 Factors, Two Levels), One Covariate]]
 * [[Fsgdf6G0V|Six Groups (2 Factors, Three Levels), Zero Covariate]]
These examples are not meant to be exhaustive, nor are they meant to teach you statistics. See these [[http://surfer.nmr.mgh.harvard.edu/pub/docs/GLM.pptx|slides]] for more of the statistics background on group analysis and how it applies to !FreeSurfer.

An alternative to constructing your own FSGD files is to use [[FsTutorial/QdecGroupAnalysis|QDEC]], though QDEC cannot be used with more than two groups and/or more than two continuous variables. In the examples below, the term "QDEC-able" appears after those examples that can be analyzed in QDEC.

Below, DODS refers to "Different Offset, Different Slope" and DOSS refers to "Different Offset, Same Slope". Refer to the [[DodsDoss|DODS vs DOSS page]] for more information.

* [[FsgdfOSGM|One Group, Zero Covariates (OSGM = One-Sample Group Mean). DODS = DOSS. QDEC-able.]]
 * [[Fsgdf1G1V|One Group, One Covariate. DODS = DOSS. QDEC-able.]]
 * [[Fsgdf1G2V|One Group, Two Covariates. DODS = DOSS. QDEC-able.
]]
 * [[Fsgdf2G0V|Two Groups (1 Factor, Two Levels), Zero Covariates. DODS or DOSS. QDEC-able.]]
 * [[Fsgdf2G1V|Two Groups (1 Factor, Two Levels), One Covariate. DODS only. QDEC-able.]]
 * [[Fsgdf2G2V|Two Groups (1 Factor, Two Levels), Two Covariates. DODS only. QDEC-able.]]
 * [[Fsgdf3G0V|Three Groups (1 Factor, Three Levels), Zero Covariates. DODS or DOSS.]]
 * [[Fsgdf4G0V|Four Groups (2 Factors, Two Levels), Zero Covariates. DODS or DOSS. QDEC-able.]]
 * [[Fsgdf4G1V|Four Groups (2 Factors, Two Levels), One Covariate. DODS only. QDEC-able.]]
 * [[Fsgdf6G0V|Six Groups (2 Factors, Three Levels), Zero Covariates. DODS or DOSS.]]

These are examples of FreeSurfer Group Descriptor (FSGD) files and contrasts for testing various hypotheses. FreeSurfer can automatically construct design matrices from an FSGD file. The FSGD file is usually easier to construct than the design matrix. The FSGD file is used as input to several FreeSurfer programs (mainly mri_glmfit and mris_preproc). Note that you can always specify you own matrix using the --X option to mri_glmfit. See also PairedAnalysis and RepeatedMeasuresAnova and LongitudinalStatistics.

These examples are not meant to be exhaustive, nor are they meant to teach you statistics. See these slides for more of the statistics background on group analysis and how it applies to FreeSurfer.

An alternative to constructing your own FSGD files is to use QDEC, though QDEC cannot be used with more than two groups and/or more than two continuous variables. In the examples below, the term "QDEC-able" appears after those examples that can be analyzed in QDEC.

Below, DODS refers to "Different Offset, Different Slope" and DOSS refers to "Different Offset, Same Slope". Refer to the DODS vs DOSS page for more information.

FsgdExamples (last edited 2024-05-01 15:06:44 by DougGreve)