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: predict


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: predict
Date   Mon, 6 Jun 2011 13:53:22 +0200

On Mon, Jun 6, 2011 at 12:50 PM, Chiara Mussida <[email protected]> wrote:
> Unfortunately, the following error:
>
> gen double xb1 = _b[4:_cons] + _b[4:foreign]*foreign
> regressor 4:_cons not found
> r(111);
> does  not alow the computation

The example works on my computer. Did you run the example I sent
exactly as I sent it?

-- Maarten

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