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: RE: mlogit c(showbaselevels) undefined error
From
"Kieran McCaul" <[email protected]>
To
<[email protected]>
Subject
st: RE: mlogit c(showbaselevels) undefined error
Date
Fri, 29 Oct 2010 15:05:16 +0800
...
This works OK for me. You should type -update query-
. clear*
. webuse sysdsn1
(Health insurance data)
. mlogit insure age male nonwhite i.site
Iteration 0: log likelihood = -555.85446
Iteration 1: log likelihood = -534.67443
Iteration 2: log likelihood = -534.36284
Iteration 3: log likelihood = -534.36165
Iteration 4: log likelihood = -534.36165
Multinomial logistic regression Number of obs =
615
LR chi2(10) =
42.99
Prob > chi2 =
0.0000
Log likelihood = -534.36165 Pseudo R2 =
0.0387
------------------------------------------------------------------------
------
insure | Coef. Std. Err. z P>|z| [95% Conf.
Interval]
-------------+----------------------------------------------------------
------
Indemnity | (base outcome)
-------------+----------------------------------------------------------
------
Prepaid |
age | -.011745 .0061946 -1.90 0.058 -.0238862
.0003962
male | .5616934 .2027465 2.77 0.006 .1643175
.9590693
nonwhite | .9747768 .2363213 4.12 0.000 .5115955
1.437958
|
site |
2 | .1130359 .2101903 0.54 0.591 -.2989296
.5250013
3 | -.5879879 .2279351 -2.58 0.010 -1.034733
-.1412433
|
_cons | .2697127 .3284422 0.82 0.412 -.3740222
.9134476
-------------+----------------------------------------------------------
------
Uninsure |
age | -.0077961 .0114418 -0.68 0.496 -.0302217
.0146294
male | .4518496 .3674867 1.23 0.219 -.268411
1.17211
nonwhite | .2170589 .4256361 0.51 0.610 -.6171725
1.05129
|
site |
2 | -1.211563 .4705127 -2.57 0.010 -2.133751
-.2893747
3 | -.2078123 .3662926 -0.57 0.570 -.9257327
.510108
|
_cons | -1.286943 .5923219 -2.17 0.030 -2.447872
-.1260134
------------------------------------------------------------------------
------
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of godwin osoro
Sent: Friday, 29 October 2010 2:44 PM
To: [email protected]
Subject: st: mlogit c(showbaselevels) undefined error
im running a mlogit on stata 11 and getting an error message
c(showbaselevels) undefined. even when i use webuse sysdsn1 and run
mlogit insure age male nonwhite i.site for the dat in stata i still
get the same error message. what is the problem and what should i do?
*
* 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/
*
* 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/