I am using `proc traj` for latent growth curve model. My question is regarding the code provided ahead.
In this data set the outcome `helpless` is measured at three time points and so are the time-varying exposures like `life_satisfac`. We also have fixed exposures like `gender`. I am not sure how to incorporate both `life_satisfac` and `gender` in the code below:
PROC TRAJ DATA=h OUT=OF OUTPLOT=OP OUTSTAT=OS OUTEST=OE ITDETAIL;
ID subNbr; VAR Helpless1-Helpless3; INDEP life_satis1-life_satis3;
MODEL CNORM;Min 6; MAX 24; NGROUPS 3; ORDER 1 1 1;
RUN;
%trajplot (PlotFile=OP,StatFile=OS, “Title of graph”, “Subtitle”, “Y-axis label”, “X-axis label”);
Helpless is measured on a likert scale from 6-24; life_satisfac is also on a likert scale from 5-35.
Thank you for your response. I did get my code form the resource your provided.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.