BookmarkSubscribeRSS Feed
longitudinal
Fluorite | Level 6

Dear Community,

 

I am fitting the conditional logistic model using PROC GENMOD and I want to output the robust standard error for the estimated odds ratio instead of the log(odds). 

 

I know the ods output GEEEmpPEst can output the empirical standard error on the log scale, but I am not sure whether ods output ESTIMATES will output the empirical SE on the OR scale.

 

Thank you!

1 REPLY 1
StatDave
SAS Super FREQ

The "L'Beta Estimate" and "Standard error" values, and the "L'Beta Confidence limits" in the ESTIMATE statement results are on the logit scale (log[p/(1-p)]) when fitting a logistic model. For an ESTIMATE statement that defines a difference in two logits, using the EXP option provides the odds ratio estimate and its confidence limits. Equivalently, you can use an LSMEANS statement along with the DIFF, ODDSRATIO, and CL options. For example, using the GEE example in the Getting Started section of the GENMOD documentation, adding these statements provides the odds ratio estimate and confidence interval for comparing the two cities:

 

estimate 'city' city 1 -1 / exp;
lsmeans city / diff oddsratio cl;

 

However, a standard error on the odds ratio scale is not available.
 

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1 reply
  • 3805 views
  • 0 likes
  • 2 in conversation