We performed a randomized controlled trial. I am interested in anxiety levels (dependent), treatment (meds vs. ultra-dance therapy), and personality variables (agreeableness, neuroticism, weeaboo). We measured anxiety levels four times. I am interested in exploring whether participants in one treatment experienced greater reductions in anxiety, and whether the personality variables are associated with reductions in anxiety over time.
My understanding is that subjects are treated as random effects through the repeated measures aspect of the analysis. It seems fairly clear to me that treatment type is a fixed effect. Are the personality variables (scored 0-50 each lets say) best conceptualized as fixed, or random effects?
Here is the syntax I have from SPSS if I put the personality factors as fixed effects:
MIXED ANXIETY BY TREATMENT TIME WITH PERSONALITYXXXX PERSONALITYYYY
/CRITERIA=CIN(95) MXITER(1000) MXSTEP(100) SCORING(1) SINGULAR(0.000000000001) HCONVERGE(0,
ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
/FIXED=TREATMENT TIME TREATMENT*TIME PERSONALITYXXXX0 PERSONALITYYYY| SSTYPE(3)
/METHOD=REML
/PRINT=DESCRIPTIVES SOLUTION TESTCOV
/RANDOM=INTERCEPT | SUBJECT(id) COVTYPE(UN)
/REPEATED=TIME | SUBJECT(id) COVTYPE(DIAG).
Here is the syntax if I put personality factors as random effects
MIXED ANXIETY BY TREATMENT TIME WITH PERSONALITYXCXXX PERSONALITYYYY
/CRITERIA=CIN(95) MXITER(1000) MXSTEP(100) SCORING(1) SINGULAR(0.000000000001) HCONVERGE(0,
ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
/FIXED=TREATMENT TIME TREATMENT*TIME | SSTYPE(3)
/METHOD=REML
/PRINT=DESCRIPTIVES SOLUTION TESTCOV
/RANDOM=INTERCEPT PERSONALITYXCXXX PERSONALITYYYY | COVTYPE(UN)
/REPEATED=TIME | SUBJECT(id) COVTYPE(DIAG).
In SPSS I put "ID" as a subject variable and "TIME" as a repeated variable in the first window. Is this necessary/a good idea? I am concerned these variables may be treated as random more than once, if that is possible.
One issue with having personality variables as a random effect is the output gets quite wacky and I get an error "The final Hessian matrix is not positive definite although all convergence criteria are satisfied."
Thoughts?