Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2008-12-02 16:15:48
Size: 2532
Editor: crash
Comment:
Revision 4 as of 2008-12-02 17:32:56
Size: 2168
Editor: crash
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Two Groups (One Factor/Two Levels), One Covariates = Two Groups (One Factor/Two Levels), One Covariates =
Line 7: Line 7:
FSGD File: example3.fsgd === FSGD File ===
Line 18: Line 18:
Nclasses = 2
Nvariables = 1
Nclasses = 2 <<BR>>
Nvariables = 1 <<BR>>
Line 21: Line 21:
DODS =================================================
Regressors:
Nregressors = Nclasses*(Nvariables+1) = 2*(1+1) = 4
Regressor1: ones for subjects in Group 1, 0 otherwise. Codes intercept/mean for Group 1
Regressor2: ones for subjects in Group 2, 0 otherwise. Codes intercept/mean for Group 2
Regressor3: age for subjects in Group 1, 0 otherwise. Codes age slope for Group 1
Regressor4: age for subjects in Group 2, 0 otherwise. Codes age slope for Group 2
=== Regressors ===
Line 29: Line 23:
Contrasts: Nregressors = Nclasses*(Nvariables+1) = 2*(1+1) = 4 <<BR>>
Regressor1: ones for subjects in Group 1, 0 otherwise. Codes intercept/mean for Group 1 <<BR>>
Regressor2: ones for subjects in Group 2, 0 otherwise. Codes intercept/mean for Group 2 <<BR>>
Regressor3: age for subjects in Group 1, 0 otherwise. Codes age slope for Group 1 <<BR>>
Regressor4: age for subjects in Group 2, 0 otherwise. Codes age slope for Group 2 <<BR>>
Line 31: Line 29:
Contrast1: ------------ === Contrasts ===

===== Contrast1 =====
Line 35: Line 35:
--------------- cut here -------------- {{{
Line 37: Line 37:
--------------- cut here -------------- }}}
Line 43: Line 43:
Contrast2: ------------ ===== Contrast2: =====
Line 50: Line 50:
--------------- cut here -------------- {{{
Line 52: Line 52:
--------------- cut here -------------- }}}
Line 58: Line 58:
Contrast3: ------------ ===== Contrast3: =====
Line 62: Line 62:
--------------- cut here -------------- {{{
Line 65: Line 65:
--------------- cut here -------------- }}}
Line 68: Line 68:
Contrast4: ------------ ===== Contrast4 =====
Line 72: Line 72:
--------------- cut here -------------- {{{
Line 74: Line 74:
--------------- cut here -------------- }}}
Line 76: Line 76:
Contrast5: ------------ ===== Contrast5 =====
Line 80: Line 80:
--------------- cut here -------------- {{{
Line 82: Line 82:
--------------- cut here -------------- }}}

Two Groups (One Factor/Two Levels), One Covariates

This models the input as two lines. If DODS, then each line has its own intercept and slope. If DOSS, then each line has its own intercept but they share a slope.

FSGD File

GroupDescriptorFile 1
Title OSGM
Class Group1
Class Group2
Variable Age
Input subject1 Group1 30
Input subject2 Group2 40

Nclasses = 2
Nvariables = 1

Regressors

Nregressors = Nclasses*(Nvariables+1) = 2*(1+1) = 4
Regressor1: ones for subjects in Group 1, 0 otherwise. Codes intercept/mean for Group 1
Regressor2: ones for subjects in Group 2, 0 otherwise. Codes intercept/mean for Group 2
Regressor3: age for subjects in Group 1, 0 otherwise. Codes age slope for Group 1
Regressor4: age for subjects in Group 2, 0 otherwise. Codes age slope for Group 2

Contrasts

Contrast1

Null Hypothesis: is there a difference between the group intercepts?

Contrast File: g1-g2.intercept.mtx

1 -1 0 0

Since this is a t-test, the output will be signed, with Group1>Group2 being positive (red/yellow). Reversing the sign will only change the sign of the output, not its magnitude.

Contrast2:

Null Hypothesis: is there a difference between the group slopes? Note: this is an interaction between group and age. Note: not possible to test with DOSS

Contrast File: g1-g2.slope.mtx

0 0 1 -1

Since this is a t-test, the output will be signed, with Group1>Group2 being positive (red/yellow). Reversing the sign will only change the sign of the output, not its magnitude.

===== Contrast3: ===== Null Hypothesis: does Group1 differ from Group2 in intercept or slope?

Contrast File: g1-vs-g2.mtx

1 -1 0  0
0  0 1 -1 

Note: this is an F-test (and hence unsigned).

Contrast4

Null Hypothesis: does mean of group intercepts differ from 0?

Contrast File: g1g2.intercept.mtx

0.5 0.5 0 0

Contrast5

Null Hypothesis: does mean of group slopes differ from 0?

Contrast File: g1g2.intercept.mtx

0 0 0.5 0.5

Fsgdf1G1V (last edited 2010-09-20 15:10:27 by MartinReuter)