BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Recep
Quartz | Level 8

Hello there;

 

I'm trying to obtain the "estimated covariance matrix of parameter estimators" by using PROC LOGISTIC:

 

proc logistic data=datain descending;
class chop;
model complication = age severity body_region mechanism transfer gcs sbp rr chop;
by _imputation_;
ods output ParameterEstimates = logitparms CovB = logitcovb;
run;

 

Even though CovB is an ODS table option according to the SAS documentation (https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_logistic_se...) I'm having a warning saying that:

 

"WARNING: Output 'CovB' 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."

 

No problem for the ParameterEstimates.

 

Any ideas?

 

Thanks a lot in advance!

 

Recep

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Does this fix the problem:

model complication = age severity body_region mechanism transfer gcs sbp rr chop/ covb;
ods output ParameterEstimates = logitparms; ods output CovB = logitcovb;

View solution in original post

3 REPLIES 3
ballardw
Super User

Does this fix the problem:

model complication = age severity body_region mechanism transfer gcs sbp rr chop/ covb;
ods output ParameterEstimates = logitparms; ods output CovB = logitcovb;
Recep
Quartz | Level 8

I tried that. Unfortunately I still get the same warning...

Recep
Quartz | Level 8
Nevermind! I did not pay attention to the CovB option in the MODEL statement. It seems like it worked. I'll check the results. Thanks a lot!

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