Statalist The Stata Listserver


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

Re: st: calculating a loglikelihood in regress


From   rgutierrez@stata.com (Roberto G. Gutierrez, StataCorp)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: calculating a loglikelihood in regress
Date   Wed, 02 May 2007 21:41:47 -0500

In a previous post, I wrote

[...]
 
> Of course, if you want this sort of thing displayed, you could always type
>     . xtmixed mpg weight
> or
>     . xtmixed mpg weight, reml
> if you want the likelihood associated with the "N-k" divided residual error,
> rather than the ML residual error, which merely divides by N.  -regress-
> gives the latter, by the way.

What I meant to say was 

      . xtmixed mpg weight, mle

for the latter syntax.  -reml- is the default for -xtmixed-; -mle- is an
option.

--Bobby
rgutierrez@stata.com
*
*   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