Statalist


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

RE: [SPAM] - Re: [SPAM] - Re: st: Nested maximum likelihood algorithms - Email has different SMTP TO: and MIME TO: fields in the email addresses - Email has different SMTP TO: and MIME TO: fields in the email addresses


From   =?koi8-r?B?7unyIO3p/OY=?= <icef-research@hse.ru>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: [SPAM] - Re: [SPAM] - Re: st: Nested maximum likelihood algorithms - Email has different SMTP TO: and MIME TO: fields in the email addresses - Email has different SMTP TO: and MIME TO: fields in the email addresses
Date   Thu, 30 Aug 2007 16:43:27 +0400

Thanks a lot! - it did work almost exactly as you suggest, except that, at least in interactive mode, I had to specify the init(b0) option after 

-ml model ..., init(b0)- 

rather than 

-ml maximize, init(b0)- 

Anyway, now I know how to proceed - thanks again for all suggestions.

>-----Original Message-----
>From: owner-statalist@hsphsun2.harvard.edu
>[mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of 
>Austin Nichols
>Sent: Wednesday, August 29, 2007 6:04 PM
>To: statalist@hsphsun2.harvard.edu
>Subject: [SPAM] - Re: [SPAM] - Re: st: Nested maximum likelihood
>algorithms - Email has different SMTP TO: and MIME TO: fields in the
>email addresses - Email has different SMTP TO: and MIME TO: fields in
>the email addresses
>
>
>ξις νιόζ <icef-research@hse.ru>:
>A call to -ml maximize- can include a init(b0) option to specify a
>starting point and an iterate(1) option to specify iterating only
>once.  The resulting b vector could be passed to another program,
>transformed to a new b0 and then passed to another call of -ml
>maximize, init(b0) iterate(1)- ad infinitum (or something short of
>infinitum, perhaps).
>
>On 8/29/07, ξις νιόζ <icef-research@hse.ru> wrote:
>> At first attempt that does not seem to work, but thanks a 
>lot for a useful hint!
>>
>> Alexis
>>
>> >-----Original Message-----
>> >From: owner-statalist@hsphsun2.harvard.edu
>> >[mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of
>> >Scott Merryman
>> >Sent: Wednesday, August 29, 2007 3:09 PM
>> >To: statalist@hsphsun2.harvard.edu
>> >Subject: [SPAM] - Re: st: Nested maximum likelihood 
>algorithms - Email
>> >has different SMTP TO: and MIME TO: fields in the email addresses
>> >
>> >
>> >Could you set the maximum number of iterations for the ML code to 1.
>> >
>> >Scott
>> >
>> >On 8/29/07, ξις νιόζ <icef-research@hse.ru> wrote:
>> >> Dear Statalisters,
>> >>
>> >> Following the suggestion at
>> >http://www.stata.com/support/faqs/res/statalist.html#noa>nswer,
>> >
>> >> I am rephrasing the question to which I seem to have
>> >no response.
>> >>
>> >> I am programming a nested algorithm in which the 'outer'
>> >code is maximum likelihood, and the 'inner' one is the dynamic
>> >programming code I wrote in mata. I need to 1) take the
>> >coefficients obtained after first iteration of maximum
>> >likelihood (outer) algorithm, such as those reported by ml
>> >maximize, trace, 2) use them in my mata code to solve the
>> >dynamic programming problem inside mata, 3) take the results
>> >of that solution back to ml algorithm to obtain the estimates
>> >at the next iteration, and 4) continue this procedure until
>> >convergence.
>> >
>> >*
>> >*   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/
>> >
>>
>> *
>> *   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/
>>
>
>*
>*   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/
>

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