Bookmark and Share

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]

Re: st: error r(111)


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: error r(111)
Date   Mon, 6 Jun 2011 13:58:04 +0200

If you are using a Stata version less than 11, you must say so.
Otherwise we are all wasting our time.

-- Maarten

On Mon, Jun 6, 2011 at 1:11 PM, Chiara Mussida <[email protected]> wrote:
> Dear All,
> by running the example Marteen kindly suggested before I meet the
> following error message
>
> . sysuse auto, clear
> (1978 Automobile Data)
>
> . recode rep78 1/2=3
> (rep78: 10 changes made)
>
> . mlogit rep78 foreign
>
> Iteration 0:   log likelihood = -66.194631
> Iteration 1:   log likelihood = -53.222714
> Iteration 2:   log likelihood = -52.161019
> Iteration 3:   log likelihood = -52.141497
> Iteration 4:   log likelihood = -52.141462
>
> Multinomial logistic regression                   Number of obs   =         69
>                                                  LR chi2(2)      =      28.11
>                                                  Prob > chi2     =     0.0000
> Log likelihood = -52.141462                       Pseudo R2       =     0.2123
>
> ------------------------------------------------------------------------------
>       rep78 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
> -------------+----------------------------------------------------------------
> 4            |
>     foreign |   2.512306    .763271     3.29   0.001     1.016322    4.008289
>       _cons |  -1.413693   .3716695    -3.80   0.000    -2.142152   -.6852345
> -------------+----------------------------------------------------------------
> 5            |
>     foreign |   4.016383   .9856285     4.07   0.000     2.084587    5.948179
>       _cons |  -2.917771   .7259608    -4.02   0.000    -4.340628   -1.494914
> ------------------------------------------------------------------------------
> (rep78==3 is the base outcome)
>
> . predict double pr*, pr
>
> . gen double xb1 = _b[4:_cons] + _b[4:foreign]*foreign
> regressor 4:_cons not found
> r(111);
>
> Thanks
> C
>
>
>
> --
> Chiara Mussida
> PhD candidate
> Doctoral school of Economic Policy
> Catholic University, Piacenza (Italy)
> *
> *   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/
>



-- 
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index