Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: matrix of initial values in ml estimations


From   Anisa Shyti <[email protected]>
To   [email protected]
Subject   Re: st: matrix of initial values in ml estimations
Date   Tue, 10 Apr 2012 18:35:39 +0200

Perfect, worked great.

Thank you Marteen!
Cheers,
Anisa

On Tue, Apr 10, 2012 at 4:40 PM, Maarten Buis <[email protected]> wrote:
>
> On Tue, Apr 10, 2012 at 4:33 PM, Anisa Shyti wrote:
> > Thank you for your reply.  I am using a program that I define, with a
> > set of temporary variables etc.
> >
> > The command I use is the following:
> >
> > ml model lf wmidwr (alpha: option pl pu r = )(beta: ), technique(nr 6
> > dfp 3 bhhh 3) init(0.1 0.1, copy)
> > ml maximize,  iterate(160) difficult
> >
> > Where shall I insert the loops for the initial values?
>
> Something like this :
>
>  forvalues i = 1/9 {
>    forvalues j = 1/9 {
>        local a = `i'/10
>        local b = `j'/10
>         ml model lf wmidwr (alpha: option pl pu r = )(beta: ),
> technique(nr 6 dfp 3 bhhh 3) init(`a' `b', copy)
>         ml maximize,  iterate(160) difficult
>    }
>  }
>
> -- Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
>
> http://www.maartenbuis.nl
> --------------------------
> *
> *   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index