BookmarkSubscribeRSS Feed
Aleksandar
Obsidian | Level 7

Hi everyone,

 

I have run the logistic regression for a binary dependent variable and a set of independent variables (numeric variables). However, I could not obtain the odds ratios for the variables used in the interaction term and the interaction term odds ratio. These variables are 

 

I have run the following code:

 

proc logistic data=First.Model descending;
model TTNIRS = age Gender D_Year_1 D_Years_2 D_Years_5 D_Year_10 Ascending_group High_amount Regular_saver
D_Low_litearcy D_High_litearcy D_Highest_litearcy Ascending_group*High_amount / ctable pprob=0.5;
output out=lpred predicted=plogit;
run;

 

However, the output did not provide the odds ratios for the Ascending_group, High_amount, and Ascending_group*High_amount.

 

I got the following results for odds ratios:

Odds Ratio EstimatesEffect Point Estimate 95% WaldConfidence LimitsageGenderD_Year_1D_Years_2D_Years_5D_Year_10Regular_saverD_Low_litearcyD_High_litearcyD_Highest_litearcy
0.9970.9881.007
0.8470.6821.051
0.8680.6341.189
0.5020.3630.692
0.4350.3140.602
0.3640.2610.507
1.6801.2962.178
0.8470.4801.495
0.7170.4201.224
0.9270.5551.549

 

How to obtain odds ratios for Ascending_group, High_amount, and Ascending_group*High_amount? 

 

Thank you in advance.

 

Aleksandar

 

 

 

 
 
 
2 REPLIES 2
ballardw
Super User

What did your log say after running the procedure? You might consider posting the code with all messages from the log.

 

Without data there really isn't any way to tell what you need if the issue is data related.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 2 replies
  • 622 views
  • 1 like
  • 3 in conversation