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 y | y not observed after heckman


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: predict y | y not observed after heckman
Date   Tue, 1 Feb 2011 11:02:43 +0000 (GMT)

--- On Tue, 1/2/11, Florian Wakolbinger wrote:
> I found "predict, ycond", which produces the prediction
> conditional on y being observed. However, there seems
> to be no command for a prediction conditional on y being
> NOT observed.
> 
> Is it necessary to calculate this "by hand", or is there an
> alternative command that does this?

In that case it depends on what you exactly want. Either you
want the real outcome, in which case it is all 0 (or whatever
other cutoff value you choose). Or you want the latent outcome,
in which case it is just the linear predictor (option xb).

Hope this helps,
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