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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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