Search results

  1. U

    How to run a lagged (time series?) model in R?

    Hi there, I am wanting to run a lagged model where a predictor (X) at T1 is regressed on an outcome (Y) at T2, controlling for Y at T1 plus 2 covariates at T1, over a total of 20 time points (so as to test whether X causes Y). I could use a cross-lagged SEM in Lavaan, but most papers I've...