Last 3 Days
Growth Modeling of Longitudinal Data
posted on Friday, June 20, 2008 - 7:11 am
I am using several categorical covariates, e.g., age, for trajectory analysis.
Can I use age as categorical variable using categorical=age?
Or should I create dummy variable for each age, such as age1 (1 if age=1, 0=otherwise), age2 (1 if age=2, 0=otherwise)...
Thank you for your help.
Linda K. Muthen
posted on Friday, June 20, 2008 - 9:06 am
The CATEGORICAL statement is for dependent variables only. Observed exogenous independent variables can be binary or continuous. You can treat age as continuous or create a set of dummy variables.
Back to top
Add Your Message Here
This is a private posting area. Only registered users and moderators may post messages here.
Enable HTML code in message
Automatically activate URLs in message