How to estimate odds ratio for an interaction?

How to estimate odds ratio for an interaction?

Note that when a variable is involved in an interaction there isn’t a single odds ratio estimate for it. Rather, the odds ratio for the variable depends on the level (s) of the interacting variable (s). Use the ODDSRATIO statement in PROC LOGISTIC to get odds ratio estimates of simple effects within an interaction.

Which is the best way to understand interaction effects in statistics?

The best way to understand these effects is with a special type of line chart —an interaction plot. This type of plot displays the fitted values of the dependent variable on the y-axis while the x-axis shows the values of the first independent variable. Meanwhile, the various lines represent values of the second independent variable.

When is an interaction term statistically significant?

If the interaction term is statistically significant, then the differences between the slopes for the variables included in the interaction term are statistically significant. With an R-squared that high, be sure that you’re not overfitting your model.

Can you get hazard ratios for an interaction term?

The ratio of ratios = 1.04 / 1.07 = 0.97, the natural log of which = -0.029. As a footnote, if you’re wondering how best to present a model with an interaction term, consider using a graph. Anyone will understand a graph showing an interaction – the contept of an interaction is quite simple, really.

When to use proc logistic to calculate odds ratio?

By default, PROC GENMOD does not display odds ratio estimates and PROC LOGISTIC computes odds ratio estimates only for variables not involved in interactions or nested terms. Note that when a variable is involved in an interaction there isn’t a single odds ratio estimate for it.

How is the odds ratio calculated in SAS?

The CONTRAST statement produces these results. The coefficients are determined in the same way as for the ESTIMATE statement. An overall test of the specified contrast is provided first. The ESTIMATE=EXP option produces the estimated odds ratio (1.88). A test and confidence limits are also provided.

What are the odds ratios for multiple logistic regression?

A summary of the data can be found on page 2 of this module. The unadjusted or crude relative risk was RR = 1.78, and the unadjusted or crude odds ratio was OR =1.93.