Hi,

I am trying to understand some of the intricacies of modelling time-varying covariates (tvc’s) in longitudinal studies. I am taking some cues from the following paper:

From what I can understand, the basic mixed model incorporating the covariate as it stands will generate a coefficient for that variable that is kind of a weighted average of within and between effects.

If you want to get more fine-grained in disentangling within and between effects you could person-centre that covariate and include the person-mean and person-centred variables as separate covariates in the model, thus giving estimates of between and within effects, respectively (but this really only applies in the case of the covariate not being associated with time [within-person covariate trajectories are flat]). If the tvc is in fact associated with time, additional work is required to model this correctly (I think they go into explaining that in the paper).

There are two things I’m interested in knowing:

- How often do people in practice go to the trouble of disaggregating effects for a tvc? Perhaps this is important if it’s your main exposure of interest…
- If we want to use splines to model non-linear effects on the tvc, is it necessary (or even possible) to disaggregate within and between effects?

Looking for practical pointers and tips.

Thanks.