Let's say I have a binary variable Y and an ordinal predictor X1 (i.e., X1 = 0, 1, 2, 3, 4, etc.). I regress Y on X1 in a logit, and the coefficient on X1 is -0.051293294, so the odds ratio of X1 is 0.95. Therefore, a one unit increase in X1 lowers the odds of Y = 1 by 5%.
Let's say I want to calculate the odds when X1 = 4. How do I calculate that in Stata? Since this is a nonlinear model, I can't simply do 5% * 4, correct? Is it appropriate to do -0.051293294 * 4 and then calculate the odds ratio of that value, which would be 0.81? Is it appropriate to call this an odds ratio?
Related Posts with Question about odds ratio for continuous variable of interest
Tackling potential endogeneity bias in panel data model with binary outcomeDear Stata Users, I am trying to estimate a model which relates the presence (1) or absence (0) of …
R squared after fixed effects estimation with mi estimate, post:Dear all, I’m using a multiple imputation with the command mi estimate, post: xtreg wage $xlist , fe…
Destring variable and generate a new variable taking characters ( "*" and "‡") from the old variable Code: +-------+ | marks | |-------| 1. | 21 | 2. | 20 | 3. | 15 | …
IRT within loopHi I am using Stata/SE 14. I have item bank of 260 questions (binary response), these items are sp…
Identify a number which is not present in a numbers' listHello everyone, I have a variable called stratum which is supposed to carry numbers from 1 to 10. S…
Subscribe to:
Post Comments (Atom)
0 Response to Question about odds ratio for continuous variable of interest
Post a Comment