Dear all,
In a longitudinal study lasting 6 months, randomised with 2 groups (treated and control), and 3 measurement times point (baseline T0, at 3 month, T3 and at 6 month, T6), I want to know if the change in quality of life (QoL) score is significant in the treated vs control group.
The design of the planed analysis is as follows (I didnt planed it myself; I am not biostatistician but I try to learn with STATA):
Mixed procedure: mean changes from T0 (baseline) in QoL analyzed using a restricted maximum likelihood (REML)-based repeated measures approach including effects of Treatment group, Time (T3 and T6) and Treatment group x Time interaction as well as the covariates of mean centered T0 value of QoL, mean centered T0 value of QoL x Time interaction, Sex, Age, and years of education.
An unstructured covariance matrix will be used to model within-patient errors and the Kenward-Roger approximation will be used to estimate the degrees of freedom of the denominator.
To do so, I first created the variable "Change from_T0" (both for T3 and T6), then I created the new variable QoL_meancentered_T0 and then I reshape my wide data base in long database with the 3 time points measurement for QoL.
I honestly don’t know how to program this analysis in STATA.
I would like first the Type 3 Tests of Fixed Effects. And then the mixed procedure and estimates for treated vs control at T3 and at T6. And the estimates mean change from T0 to T3 and T0 to T6 for each group.
I tried this but I don’t see the “repeated” option…
mixed QoL_score group##time i.sex_t0 age_t0 education_t0 centered_QoL_T0 c. centered_QoL_T0#time, || PARTICIPANTS_ID:, noconstant covariance(unstructured) reml residuals(exchangeable) dfmethod(kroger)
-I feel like I'm forgetting steps
-I don't know how to find the right estimates
If any of you have an idea to perform this analysis I would be gratefull for this precious help
thank you
Flo
In a longitudinal study lasting 6 months, randomised with 2 groups (treated and control), and 3 measurement times point (baseline T0, at 3 month, T3 and at 6 month, T6), I want to know if the change in quality of life (QoL) score is significant in the treated vs control group.
The design of the planed analysis is as follows (I didnt planed it myself; I am not biostatistician but I try to learn with STATA):
Mixed procedure: mean changes from T0 (baseline) in QoL analyzed using a restricted maximum likelihood (REML)-based repeated measures approach including effects of Treatment group, Time (T3 and T6) and Treatment group x Time interaction as well as the covariates of mean centered T0 value of QoL, mean centered T0 value of QoL x Time interaction, Sex, Age, and years of education.
An unstructured covariance matrix will be used to model within-patient errors and the Kenward-Roger approximation will be used to estimate the degrees of freedom of the denominator.
To do so, I first created the variable "Change from_T0" (both for T3 and T6), then I created the new variable QoL_meancentered_T0 and then I reshape my wide data base in long database with the 3 time points measurement for QoL.
I honestly don’t know how to program this analysis in STATA.
I would like first the Type 3 Tests of Fixed Effects. And then the mixed procedure and estimates for treated vs control at T3 and at T6. And the estimates mean change from T0 to T3 and T0 to T6 for each group.
I tried this but I don’t see the “repeated” option…
mixed QoL_score group##time i.sex_t0 age_t0 education_t0 centered_QoL_T0 c. centered_QoL_T0#time, || PARTICIPANTS_ID:, noconstant covariance(unstructured) reml residuals(exchangeable) dfmethod(kroger)
-I feel like I'm forgetting steps
-I don't know how to find the right estimates
If any of you have an idea to perform this analysis I would be gratefull for this precious help
thank you
Flo
Comment