BookmarkSubscribeRSS Feed
webart999ARM
Quartz | Level 8
Output 'parameterestimates' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, verify that the
         appropriate procedure options are used to produce the requested output object.  For example, verify that the NOPRINT option is not used.
ods output parameterestimates = hzd&trtn.;
proc phreg data=hazard;
  class flag(ref="1");
  model aval*cnsr1(1)=flag / rl;
run;
ods output close;

What could bring the issue?
Any ideas?
Please consider that proc phreg it in the macro and called multiple times.

 

Kind Regards
Artur

3 REPLIES 3
ballardw
Super User

Set options mprint;

run the macro and show the code and related with that message.

 

If you are calling proc phreg many times then there is no way to tell which specific run caused the warning.

Typically it will mean something else is going on such as the input data doesn't exist, there are no records valid for the model or, as in your other post, the reference level specified doesn't exist in the data , i.e. Flag is never = 1 or your censor variable is causing problems.

 

Hint, at least until you get things running: reused data set names, such as your Hazard, if built multiple times in the course of a macro make it extremely difficult to diagnose data related issues. Since you are calling this procedure multiple times, if using the same data set name, then you can only diagnose data issues for the last time Hazard was created

Rick_SAS
SAS Super FREQ

I don't have a definitive answer, but I advise you to use ODS EXCLUDE ALL if you are trying to exclude ODS output. It is easier to use and more reliable than ODS CLOSE. For details, see "Five reasons to use ODS EXCLUDE to suppress SAS output."

 

You might also want to put the ODS OUTPUT statement inside the procedure instead of outside. 

If you are calling an interactive procedure prior to PROC PHREG and if you used a RUN instead of QUIT statement, then the ODS OUTPUT will be associated with the previous procedure. See "SAS tip: Put ODS statements inside procedures."

Reeza
Super User
If this relates to your prior question, your model is likely invalid is why there are no parameter estimates. If you have a single outcome, then you cannot develop predictions and you have no different outcomes to predict.

https://communities.sas.com/t5/Statistical-Procedures/proc-phreg-ERROR-Invalid-reference-value-for/m...

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
  • 3 replies
  • 2912 views
  • 0 likes
  • 4 in conversation