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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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
  • 4759 views
  • 0 likes
  • 2 in conversation