Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: logistic reg version 8 & 11
From
Ricardo Ovaldia <[email protected]>
To
Statalist <[email protected]>
Subject
st: logistic reg version 8 & 11
Date
Thu, 9 Sep 2010 09:19:55 -0700 (PDT)
I wrote a program a while back using version 8 and I notce the -logistic- gives different results. The results under version 8 differ from those under version 11. Why is this? Which is correct?
. version 8
. xi: logistic case i.x
i.x _Ix_1-3 (_Ix_1 for x==A_A omitted)
Logistic regression Number of obs = 1195
LR chi2(2) = 5.04
Prob > chi2 = 0.0806
Log likelihood = -665.32155 Pseudo R2 = 0.0038
------------------------------------------------------------------------------
case | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_Ix_2 | 2.14e-09 . . . . .
_Ix_3 | 4.95e-09 3.08e-09 -30.80 0.000 1.47e-09 1.67e-08
------------------------------------------------------------------------------
Note: 0 failures and 1 success completely determined.
. version 11
. xi: logistic case i.x
i.x _Ix_1-3 (_Ix_1 for x==A_A omitted)
Logistic regression Number of obs = 1195
LR chi2(2) = 5.04
Prob > chi2 = 0.0806
Log likelihood = -665.32156 Pseudo R2 = 0.0038
------------------------------------------------------------------------------
case | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_Ix_2 | 1.02e-06 .0003817 -0.04 0.971 0 .
_Ix_3 | 2.36e-06 .0008842 -0.03 0.972 0 .
------------------------------------------------------------------------------
Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/