# mixed model on case-matched cohort with repeated measures

#### rscho

##### New Member
Hello,

I am working on a database including multiple parameters of cancer patients. I have been asked to perform a case-matched analysis on a cohort of patients whose clinical parameters were measured at 3 time points. I am trying to account for the case-match and the 3 repeated measures in one single multivariate analysis including only random parameters (though if possible I would like to later include fixed parameters as well). Could somebody be kind enough to tell me if the code below does that, or provide help on how to do it?

Code:
MIXED DliCount BY TCellDose inf_bacteria chimGcas WITH time
/FIXED = time
/METHOD = REML
/PRINT = G R SOLUTION TESTCOV
/RANDOM = INTERCEPT TIME | SUBJECT(PairID) COVTYPE(ID)
/RANDOM=TCellDose*time
/RANDOM=inf_bacteria*time
/RANDOM=chimGcas*time
/REPEATED = time | SUBJECT(PairID*Dli) COVTYPE(AR1) .
DliCount=continuous dependent variable
TCellDose, inf_bacteria, chimGcas=independent continuous variables
time=repeated measures (time 1, time 2, time 3)
PairID=ID for matched pair
Dli=ID for group inside matched pair

Thank you!