I'm trying to create code for my analysis but do not have the data yet. I have to provide the code for a project but will use it later. data will consist of 3 measures of CAR, repeated over time. Trauma (high vs. low) should predict CAR over time (3 time points measured). Does this syntax make sense? I'd like to graph it and get output for this. data long ; set wide; CAR = CAR1; time = 1; output; CAR = CAR2; time = 2; output; CAR = CAR3; time = 3; output; DROP CAR1 – CAR3 ; run; proc print data=long ; run; proc mixed data=long; class sub trauma time; model CAR = trauma time trauma*time; repeated time / SUBJECT=sub TYPE=CS; run; goptions reset=all; symbol1 c=blue v=star h=.8 i=j; symbol2 c=red v=dot h=.8 i=j; axis1 label =(a=90 ‘Means’) axis2 label =(‘Time’) value = (‘1’ ‘2’ ‘3’); proc gplot data=means; plot lsmean*_ name_ =group/ vaxis=axis1 haxis=axis2; run; quit;
... View more