BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello Everyone,

I need to calculate ODDS RATIO for HIP t-score = -2.5 for four country regions and then plot it.

I created the model ex:-

ODS OUTPUT parameterestimates=fparameterestimates;
ODS OUTPUT Oddsratios=foddsratio;
proc logistic data= fracx descending ;
class cntry / param=ref ref=first;
MODEL censor = BMD cntry ;
run;
quit;
ODS OUTPUT CLOSE;

But how can i calculate OR for a paticular BMD t-score = -2.5 .? Pls suggest.

Thanks for all help.

Amit
1 REPLY 1
StatDave
SAS Super FREQ
I'm not quite sure what you mean when you say you want an "OR for a paticular BMD t-score = -2.5". Does this mean you want an odds ratio comparing two countries when your BMD variable is set at 2.5? If so, then that is provided by default in the Odds Ratio Estimates table. Since your model contains only main effects, the odds ratio comparing a country to the reference country at BMD=2.5 remains the same at any other value of BMD.

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 lock in 2025 pricing—just $495!

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