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: RE: ml and parmby versus statsby


From   "S. Suetens" <S.Suetens@uvt.nl>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: ml and parmby versus statsby
Date   Wed, 12 Dec 2012 15:52:43 +0000

Hi,

Is there anyone who can explain why maximum likelihood estimation gives different results under parmby as compared to statsby?
I have run the two commands below (based on the same likelihood function) and they give very different parameter estimates and standard errors.

statsby _b _se, by(id) saving("D:\Statsby.dta", replace) nodots: ml model lf MaxLik (lambda: strategy =) (rhosigma: RHO SIGMA, nocons), max difficult

parmby "ml model lf MaxLik (lambda: strategy =) (rhosigma: RHO SIGMA, nocons), max difficult", by(id) saving("D:\Parmby.dta", replace) quietly

Thanks in advance for any help.
Sigrid

Sigrid Suetens
Associate Professor
Department of Economics
Tilburg University

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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