Hi everyone,
I am trying to use the traj plugin to conduct a latent growth curve model over the course of adolescent depression treatment. I am new to STATA (as a context).
The syntax for the procedure is: traj [if], var(varlist) indep(varlist) model(modeltype) order(numlist)
I have tried to run the basic analyses as follows: traj, var(adsdeprn0-adsdeprn12) indep(adst0-adst12) model(cnorm) order (2 2 2) min (0) max (67)
No matter how I manipulate the command, I get the error message: "varlist not allowed." I cannot figure out what I am doing wrong given that the syntax for the command specifically says to include varlists.
Any suggestions appreciated! I can provide additional info if helpful.
I am trying to use the traj plugin to conduct a latent growth curve model over the course of adolescent depression treatment. I am new to STATA (as a context).
The syntax for the procedure is: traj [if], var(varlist) indep(varlist) model(modeltype) order(numlist)
I have tried to run the basic analyses as follows: traj, var(adsdeprn0-adsdeprn12) indep(adst0-adst12) model(cnorm) order (2 2 2) min (0) max (67)
No matter how I manipulate the command, I get the error message: "varlist not allowed." I cannot figure out what I am doing wrong given that the syntax for the command specifically says to include varlists.
Any suggestions appreciated! I can provide additional info if helpful.
Comment