Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: ml within ml?


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ml within ml?
Date   Mon, 8 Oct 2007 08:51:59 +0100 (BST)

--- Timothy Dang <tpondang@gmail.com> wrote:
> I'm trying to use -dirifit- within a d0 -ml- evaluation program. At
> the end of the function when I try to use -mlsum-, I get the message
> "ml model not found".
> 
> I'm thinking that using -dirifit- has made Stata forget about the
> original ml model which called the evaluator in the first place? Does
> this sound correct? 

This sounds like a reasonable explanation. 

> And if so, is there a way to recall that information?

I have done something like that recently in -procnsreg- (downloadable
from ssc), and I ended up doing the maximization in a -while- loop. I
gave a brief discussion of that at the last UK Stata Users Group
Meeting, and you can look inside the code of -propcnsreg- for an
example.

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index