Statalist


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

st: truncreg:could not calculate numerical derivatives


From   FionaWong <[email protected]>
To   [email protected]
Subject   st: truncreg:could not calculate numerical derivatives
Date   Wed, 16 Sep 2009 03:42:28 +0800 (CST)

Hi, all:

When I use truncreg to estimate truncated regression, this error always appear: 
could not calculate numerical derivatives
missing values encountered
r(430);

I tried to begin with very simple model: just use one independent variable, but this error still exists. My database has more than 20k data, this may cause problem to find initial value for the model. I also tried to take a sample from this database(1%), like 200, the model works. But I need to use all my 20k data, is there a better way to estimate truncated regression?
Thank you all in advance.

-Fiona


      

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index