Hello, I have a question about using time-varying variables in a CRE (correlated random effects) model. Is it acceptable to include dichotomous (0/1) variables as time-varying predictors, or do they need to be continuous?
For example, suppose I observe marital status over five years, and an individual changes from single (0) at t1 to married (1) at t3. Can I treat this marital-status variable as a time-varying variable in a CRE model?
Thanks.
For example, suppose I observe marital status over five years, and an individual changes from single (0) at t1 to married (1) at t3. Can I treat this marital-status variable as a time-varying variable in a CRE model?
Thanks.

Comment