The two main model that get used in practice for randomized controlled trials in this setting are fit to only the post-baseline time points (with time as a factor variable):
score ~ baseline + group + time + group*time + time*baseline
or
change in score ~ baseline + group + time + group*time + time*baseline
with an unstructured covariance matrix (often allowed to be different for each level of group
). I'll outline reasons for the modeling choices below. Most software has good implementations of these so-called mixed models for repeated measures (MMRM): e.g. the mmrm
package in R or using PROC MIXED in SAS/STAT.
The reasons for the modeling choices include
- Using
score
or change in score
is equivalent in this setting (it would e.g. not be if you didn't include baseline
and baseline*time
interaction in the model). You can do either and it makes no differences for between group
comparisons.
- If you modelled baseline as another timepoint, this could be an alternative (in which case you'd not include
baseline + time*baseline
in the model) as long as you use an unstructured covariance matrix. Through the correlations between visits such a model would end up doing similar (but not identical) things as adjusting for a linear baseline values. However, this makes much stronger multivariate-normal-residual distributional assumptions that are often heavily violated (e.g. baseline
often has a truncated distribution due to inclusion/exclusion criteria, which really messes up the properties of the model). The two models are not equivalent, at all, without additional assumptions.
baseline
tends to matter a lot for outcomes, but the less so the further away you are from the baseline (unsurprisingly there's usually a declining correlation of observations over time). That's why you really want a time*baseline
term in addition to the main effects.
- You cannot have
baseline + time*baseline
as covariates and at the same time model the baseline, because the baseline value perfectly predicts the baseline value. I.e. describing it as a random quantity conditioning on its own value does not make sense.
time
should be a factor, because you don't want to assume a linear curve over time, unless you have strong prior data that this would be so.