BookmarkSubscribeRSS Feed
Ashleeva
Calcite | Level 5

Hello - I am trying to run a PROC Calis statement and based on the example code I've found - it looks like my syntax is correct but I keep getting an error message and it looks like its coming up after the e4,; but when I try to change any of that the model will still not run. Any insight woudl be very useful. 

Thank you. 

 

proc calis data=n905.momps_Final mod method = fiml nostand noparmname;
label H1='YHEA-100_1997'n H2 = 'YHEA-100_1998'n H3 = 'YHEA-100_1999'n H4 = 'YHEA-100_2000'n;
lineqs
H1 = 0*intercept + f_alpha + 0*f_beta + e1,
H2 = 0*intercept + f_alpha + 1*f_beta + e2,
H3 = 0*intercept + f_alpha + 2*f_beta + e3,
H4 = 0*intercept + f_alpha + 3*f_beta + e4,;
variance
f_alpha f_beta,
e1-e4 = 4 * evar;
mean
f_alpha f_beta;
cov
f_alpha f_beta;
fitindex on(only)=[chisq df probchi];
run;

1 REPLY 1
Rick_SAS
SAS Super FREQ

Try deleting the comma at the end of the H4 line, just before the semicolon.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1287 views
  • 0 likes
  • 2 in conversation