drug | ||
used | unused | |
case | 55 | 128 |
control | 19 | 164 |
but when use command logit,or
the results like this
logit,or
Logistic regression Number of obs = 366
LR chi2(1) = 22.73
Prob > chi2 = 0.0000
Log likelihood = -242.32729 Pseudo R2 = 0.0448
------------------------------------------------------------------------------
y | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
x | 3.708882 1.079555 4.50 0.000 2.096434 6.561524
_cons | .7804878 .0920515 -2.10 0.036 .6194049 .9834621
------------------------------------------------------------------------------
Note: _cons estimates baseline odds.
the odds is same,but the 95%CI is different,why?
0 Response to about odds,why the two command get the different results?
Post a Comment