Dear all,
I have a problem with the analysis of same complex (at least for me!) data. I try to summarize the scenario:
n=40
random assignment in 2 groups (treatment vs sham) (21 vs 19) (independent variable= GROUP coded 1 and 2).
outcome variable: time in milliseconds (SCORE).
each participant has been assessed two times (pre and post) (my whitin-subjects......correct?) (ASSESSMENT coded 1 and 2)
each participant in each group has been assessed for upper limb and lower imb in pre and post assessment (LIMB coded 1 and 2)
each participant in each group has been assessed for two types of stimulation: auditory and visual in pre and post assessment (STIMULATION coded 1 and 2)
So, I have a dataset like this:
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=1(upper), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=1(upper), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=1(upper), STIMULATION=2(visual) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=1(upper), STIMULATION=2(visual) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=2(lower), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=2(lower), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=2(lower), STIMULATION=2(visual) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=2(lower), STIMULATION=2(visual) SCORE=millisecond
And so on.....
I am not able to costruct the right command for STATA.
In my opinion I have a whitin-subjects factor (SCORE) as repeated measure in 2 time points AND GROUP, LIMB, STIMULATION as between-subjects factors.
Have these between.subjects factors to be considered has nested?
How can I write the right command in stata with error terms, nested variables and interactions???
I am able to write only "anova score".........after I have no idea because it is too much complex for me....
Thank you for your help
Felice
I have a problem with the analysis of same complex (at least for me!) data. I try to summarize the scenario:
n=40
random assignment in 2 groups (treatment vs sham) (21 vs 19) (independent variable= GROUP coded 1 and 2).
outcome variable: time in milliseconds (SCORE).
each participant has been assessed two times (pre and post) (my whitin-subjects......correct?) (ASSESSMENT coded 1 and 2)
each participant in each group has been assessed for upper limb and lower imb in pre and post assessment (LIMB coded 1 and 2)
each participant in each group has been assessed for two types of stimulation: auditory and visual in pre and post assessment (STIMULATION coded 1 and 2)
So, I have a dataset like this:
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=1(upper), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=1(upper), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=1(upper), STIMULATION=2(visual) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=1(upper), STIMULATION=2(visual) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=2(lower), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=2(lower), STIMULATION=1(auditory) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=1(pre) LIMB=2(lower), STIMULATION=2(visual) SCORE=millisecond
ID=1 GROUP=1(treatment) ASSESSMENT=2(post) LIMB=2(lower), STIMULATION=2(visual) SCORE=millisecond
And so on.....
I am not able to costruct the right command for STATA.
In my opinion I have a whitin-subjects factor (SCORE) as repeated measure in 2 time points AND GROUP, LIMB, STIMULATION as between-subjects factors.
Have these between.subjects factors to be considered has nested?
How can I write the right command in stata with error terms, nested variables and interactions???
I am able to write only "anova score".........after I have no idea because it is too much complex for me....
Thank you for your help
Felice
Comment