35.2 Multiple Groups

When you suspect that you might have confounding events or selection bias, you can add a control group that did not experience the treatment (very much similar to Difference-in-differences)

The model then becomes

Y=β0+β1time+β2treatment+β3×timesincetreat+β4group+β5group×time+β6group×treatment+β7group×timesincetreat

where

  • Group = 1 when the observation is under treatment and 0 under control

  • β4 = baseline difference between the treatment and control group

  • β5 = slope difference between the treatment and control group before treatment

  • β6 = baseline difference between the treatment and control group associated with the treatment.

  • β7 = difference between the sustained effect of the treatment and control group after the treatment.