While trying to run Proc Traj for the first time I am encountering the following error message
PROC TRAJ DATA=TRAJ4 OUTPLOT=OP OUTSTAT=OS OUT=OF OUTEST=OE ITDETAIL;
----
22
76
NOTE: An external program, not a SAS procedure, is being executed.
ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.
ERROR 76-322: Syntax error, statement will be ignored.
15 ID ID; VAR O1-O2; INDEP T1-T2;
16 MODEL CNORM; MAX 2; NGROUPS 2; ORDER 3 3;
17 RUN;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE TRAJ used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
18
What may be a problrm here?
Subhendu, could you run proc traj in SAS.
I tried to install the package for PROC TRAJ but it sounds like I do not have enough knowledge to do so. This webpage https://www.andrew.cmu.edu/user/bjones/ provides information to install the Stata version and not the SAS version. Any comments on that?
Thanks,
Maryam
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.