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

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