Dear list:
I've programmed a ml estimation with method "d2".
Computation of the Hessian is quite tricky though and a full call of the likelihood including computation of the gradient and the Hessian still takes quite a bit of time, so that one maximisation can easily run for hours. 
Hours rather than days is of course acceptable, but I am still wondering whether there is a way to speed things up e.g. by compiling the likelihood routine?
Does anyone know whether this is possible?
Thanks
Thomas Buettner
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/