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 on April 23, and its replacement, statalist.org is already up and running.


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

st: bug fix in ghk2/cmp


From   "David Roodman (droodman@cgdev.org)" <DRoodman@cgdev.org>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: bug fix in ghk2/cmp
Date   Sat, 6 Aug 2011 01:28:37 +0000

I've fixed what turned out to be a longstanding bug in ghk2(), which is called by -cmp- for models in which three or more equations have censoring in the same observations. One of the scores (derivatives of the log likelihood) returned by ghk2() could be slightly off, which could prevent cmp from converging in difficult models. If you use cmp for complicated models, I encourage you to get the latest version. Do "ssc install cmp, replace" and "ssc install ghk2, replace" and then restart Stata.
--David

David Roodman
Senior Fellow
1800 Massachusetts Ave. NW
3rd floor
Washington, DC 20036
Center for Global Development
Independent Research and Practical Ideas for Global Prosperity
 
Phone: 1 202 416-4023
http://blogs.cgdev.org/open_book




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