Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: -heckprob- estimation


From   ajjee <ajjee1@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: -heckprob- estimation
Date   Thu, 22 Sep 2011 20:00:42 -0700 (PDT)

Dear All

I'm going to analyze a data using -heckprob-. I have total 79000 respondent
data which were asked a specific question and the responses are 65000
(Yes/No) and 14000 (Don't know). My dependent variable y is thus binary
based on 65000 (Yes/No) and explanatory variables are age, sex, education
and income.
I have created another variable for /select equation / , that is,  z=1 if y
(yes/no) and z=0 if y(Don't know).  Now when I give the command

heckprob y age sex edu income, select (z=age sex edu income)

it does not concave and iterations are repeated. I read in a book that in
/select equation / , at least one variable should be different.  But I don't
know, how I should enter any other variable in  /select equation / as I have
the data for only age, sex, education and income.

Any suggestion?

Thanks in advance.

ajjee


--
View this message in context: http://statalist.1588530.n2.nabble.com/heckprob-estimation-tp6822774p6822774.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index