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]

st: RE: Censored Observations in the heckprob model


From   Diane Dancer <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: Censored Observations in the heckprob model
Date   Mon, 7 Mar 2011 10:15:32 +1100

Hi
>
> I am new to Stata and suspect my question is quite easy.
>
> I have a Heckprob command which is working and gives me reasonable answers. However, when I checked the output, the number of censored observations was incorrect.
>
> My binary variable is HV110 and it has 1791 zeros and 7285 uncensored 
> obs. The select variable is GRADE which is continuous. However GRADE 
> does have some zeros in the part where HV110 is 1
>
> However the output states that there are only 1493 censored obs.  There should have been 1791 censored observations and 7285 uncensored obs.
> The Stata output doesn't allow me to see how many obs are used in the SELECT section of the analysis as far as I can ascertain.
>
> The table below gives you the figures for each section of the data by HV110 and GRADE.  It appears as if Stata is using the number of zeros in GRADE for the selection not the number of zeros in HV110.
>
>                hv110
>                0       1       total
> grade   0       877     616     1493
>        1       914     6669    7583
> total           1791    7285    9076
>
> I would be very grateful if anyone can tell me what I am doing wrong and how to fix the problem.
>
> Regards
> Diane Dancer

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