Hello,
Proc Severity, an experimental proc in ETS, sounds like the answer to my prayers, but I am stuck at the outset with what seems like a very simple error message. I am trying to run the example given in the documentation, simply:
proc severity data=spilldat;
model spill / crit = aicc;
run;
where spill is a variable in the data. Although the proc begins to run, the immediate error message in the log is:
180
errror 180-322: statement is not valid or it is used out of order
Please advise. (I have ETS as part of 9.3 TS level 1M1 on Windows 7.)
That example is from SAS version 9.22. It seems that the syntax was changed in version 9.3 (it IS experimental!)
PG
This is a typical syntax error message. Looking at the doc, there is no MODEL statement for that proc and the CRIT option belongs in the PROC statement. - PG
Thank you. The MODEL statement does look peculiar but perhaps that is due to the context being to fit a predefined univariate probability distribution. However, the example in the documentation on page 1 of "A simple Example of Fitting Predefined Distributions" is clear that "the MODEL statement specifies the variable to be modeled along with the model selection criterion" and I copied the example there exactly (I believe). Can you provide an illustrative little program for proc severity that does not include a MODEL statement?
That example is from SAS version 9.22. It seems that the syntax was changed in version 9.3 (it IS experimental!)
PG
Thanks!!!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.