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