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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1382 views
  • 0 likes
  • 2 in conversation