Programming the statistical procedures from SAS

ODS Output CovB

Accepted Solution Solved
Reply
Contributor
Posts: 23
Accepted Solution

ODS Output CovB

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


Accepted Solutions
Solution
‎05-12-2017 06:59 PM
Grand Advisor
Posts: 10,043

Re: ODS Output CovB

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


All Replies
Solution
‎05-12-2017 06:59 PM
Grand Advisor
Posts: 10,043

Re: ODS Output CovB

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;
Contributor
Posts: 23

Re: ODS Output CovB

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

Contributor
Posts: 23

Re: ODS Output CovB

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!
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 95 views
  • 0 likes
  • 2 in conversation