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]

Re: st: Using a Tobit regression with the Heckman correction


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Using a Tobit regression with the Heckman correction
Date   Tue, 20 Dec 2011 19:26:42 +0000

Your syntax appears truncated as the option -second()- lacks a closing
right parenthesis.

-craggit-, or more likely -ml-, is having difficulty fitting your
model. Try a simpler model or helping out the program by suggesting
better initial values.

Nick

On Tue, Dec 20, 2011 at 7:19 PM, J. Boreham <jb648@cam.ac.uk> wrote:

> Thanks again for your help, that does appear to be what I'm after. However,
> when I use it, I get the error message:
>
> "could not calculate numerical derivatives
> discontinuous region with missing values encountered"
>
>
> The code I used was:
>
> ********
> craggit fee age agesq curr_app curr_goal_d curr_goal_m curr_goal_f,
> second(transferred age agesq curr_app curr_goal_d curr_goal_m curr_goal_f
> ********
>
> Do you have any idea what may have caused this error?
>
>
*
*   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