d***@gmail.com
2009-05-29 20:46:18 UTC
Hi,
I'm trying to analyze some data from an experimental design where I
have two between subjects factors and a repeated measure with a
categorical response (Yes or No) in 3 different treatments for the
same subject. Factors Dis and Wo, are the between subjects (BS)
factors (also categorical, both Hi/Low manipulations), PreF (Hi/Low)
is the within subjects factor and PSCH is the repeated measure. If
PSCH were a continuous variable, I could do a repeated measures under
the GLM option, alas it's not.
I'm trying to test whether the Dis, Wo, PreF, Dis*PreF or Dis*Wo*PreF
have any significant effects on the PSCH measure response. Is there
a way to do this with SPSS code? If so is there a way to do it with
the 3 repeated measures in one row of data for the subject instead of
having 3 rows of data for each subject with dummy variables?
I think the codes should look something like the below with 3 rows for
each subject and dummy variables for each level of treatment
(t1,t2,t3), but I can't seem to get it quite right. Can some point me
in the right direction? Please let me know if you can or if I'm
unclear or if there's an easier way to attack this problem.
GENLIN PSCH (REFERENCE=FIRST) BY Dis Wo WITH t1 t2 t3
/MODEL Dis Wo Dis*Wo t1 t2 t3 INTERCEPT=YES
DISTRIBUTION=BINOMIAL LINK=LOGIT
/REPEATED SUBJECT=fileNum WITHINSUBJECT=t2*t3
/MISSING CLASSMISSING=EXCLUDE
/PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY.
Thanks,
D
I'm trying to analyze some data from an experimental design where I
have two between subjects factors and a repeated measure with a
categorical response (Yes or No) in 3 different treatments for the
same subject. Factors Dis and Wo, are the between subjects (BS)
factors (also categorical, both Hi/Low manipulations), PreF (Hi/Low)
is the within subjects factor and PSCH is the repeated measure. If
PSCH were a continuous variable, I could do a repeated measures under
the GLM option, alas it's not.
I'm trying to test whether the Dis, Wo, PreF, Dis*PreF or Dis*Wo*PreF
have any significant effects on the PSCH measure response. Is there
a way to do this with SPSS code? If so is there a way to do it with
the 3 repeated measures in one row of data for the subject instead of
having 3 rows of data for each subject with dummy variables?
I think the codes should look something like the below with 3 rows for
each subject and dummy variables for each level of treatment
(t1,t2,t3), but I can't seem to get it quite right. Can some point me
in the right direction? Please let me know if you can or if I'm
unclear or if there's an easier way to attack this problem.
GENLIN PSCH (REFERENCE=FIRST) BY Dis Wo WITH t1 t2 t3
/MODEL Dis Wo Dis*Wo t1 t2 t3 INTERCEPT=YES
DISTRIBUTION=BINOMIAL LINK=LOGIT
/REPEATED SUBJECT=fileNum WITHINSUBJECT=t2*t3
/MISSING CLASSMISSING=EXCLUDE
/PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY.
Thanks,
D