Statalist The Stata Listserver


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

Re: st: xtmixed - model fit and modeling questions


From   [email protected] (Roberto G. Gutierrez, StataCorp)
To   [email protected]
Subject   Re: st: xtmixed - model fit and modeling questions
Date   Tue, 03 Oct 2006 09:43:39 -0500

I previously wrote:

>> Have a look at the -emonly- and -emiter()- options to -xtmixed-, which
>> select optimization via EM (only) and set the number of EM iterations.  Most
>> of the time, if you set the EM iterations large enough you can get a feel
>> for which are the offending variance components (i.e., those that really
>> want to be zero and should be taken out of the model).

>> EM maximization does not use Hessians, hence it doesn't suffer from problems
>> of lack of concavity.  The flip side is that it can be very slow to
>> converge, not guaranteed to converge at all, and you don't get standard
>> errors.  As a result of this, by default EM is relegated to starting-value
>> duty in -xtmixed-.

and Hillel Alpert <[email protected]> then asked:

> Standard errors appear for the fixed effects variables using EM (only). Are
> these valid? How can you tell which variables should be 0, by lack of
> convergence (e.g. after ~1000 iterations) or some other way?

Standard errors for the fixed effects are indeed valid, given the values 
of the random-effects parameters.  That is, they are valid provided that 
the random-effects parameters have converged, which is sometimes a tricky
proposition with EM.

As for telling which variables should be zero, if the parameters have 
converged or are close to convergence, the variables that "should be zero"
will have values close to zero.

--Bobby
[email protected]
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index