Skip to content
Prev 19942 / 20628 Next

time*treatment vs time + time:treatment in RCTs

On 8/29/22 05:53, Jorge Teixeira wrote:
It depends a bit on what `y` is: change from baseline or the 'raw'
measure. If it's the raw measure, then (M2) doesn't include a
description of differences at baseline between the groups.

Perhaps most importantly though: (M2) violates the principle of
marginality discussed e.g. in Venables' Exegeses on Linear Models
(https://www.stats.ox.ac.uk/pub/MASS3/Exegeses.pdf)
Approximately the same thing as M1, except that the "overall" effect of
treatment is assumed to be zero. "Overall" is a bit vague because it
depends on the contrast coding used for time and treatment.

You can see this for yourself. M1 can also be written as:

y ~ time + time:treatment + treatment + (1|ID).

If you force the coefficient on treatment to be zero, then you have M2.
Definitely (1).

PS: When referencing a blog entry, please provide a link to it. :)