Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Our World Statistics Day conversations have been a great reminder of how much statistics can inform our lives. Do you have an example of how statistics has made a difference in your life? Share your story with the Community!
Logistic regression parameter estimates opposite of expected
Oct 25, 2010 11:14 AM(3738 views)
I am a JMP newbie and to learn about JMP, I've been re-analyzing some of my old data using JMP. When I run a logisitic regression model with an ordinal dependent variable (0 or 1) and a continuous variable as the independent variable (a number between -0.5 and 0) the parameter estimates I get are numerically opposite to what I would expect. The parameter estimate for the independent variable (X) is -1.513 but when I run the same analysis using SAS, EpiInfo, Mac StatPlus, or R, I get 1.513. The p-value is the same and the intercept parameter estimate is also opposite. What am I missing to get JMP to work properly? I'm still using the free trial period to figure out whether I want to buy JMP or not... Thanks.
Re: Logistic regression parameter estimates opposite of expected
Apr 19, 2012 5:08 PM
| Last Modified: Oct 18, 2016 12:55 PM(3535 views)
| Posted in reply to message from 10-25-2010
I am also having the same issue...
In my dataset, the outcome variable, "madeit", is nominal, Yes/No and "FullDayCount" is continuous. When running Fit model - Logistic regression JMP seems to express Log odds of No versus Yes, instead of Yes versus No. Is there a way to reverse it? The stata result is correct and opposite of what JMP shows - please see attached images.
JMP treats the levels in alphabetic order by default. You can either recode the levels (e.g. No=0, Yeas=1) or set the Value Ordering property of the column MadeIt. To do the latter, just chose Value Ordering from the properties in the column info dialog and move Yes to the position above No. This will not only affect the odds ratio definition but also the plot order. The curve will be reversed.