Statalist


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

st: Running an empty model using xtmixed


From   "Yamamoto, Satomi" <syamamot@ad.uiuc.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: Running an empty model using xtmixed
Date   Fri, 28 Mar 2008 13:45:54 -0500

Hello,

Could I use the xtmixed command to run a null model?
I used the pig.dta data (http://www.stata-press.com/data/r10/pig.dta) and run

xtmixed weight||id:,  var

But, I was not able to converge the data:

Iteration 534: log restricted-likelihood = -1826.5158  (backed up)
numerical derivatives are approximate

I terminated the session because 534 interatins sounded a lot.
The xtmixed command works fine if I include the explanatory variable:

xtmixed weight week ||id:,  var

Is there another way of running the intercept only model in Stata?
Or, did I forget to include options in xtmixed? It would be great if somebody could help me wit this.

Sincerely,
Satomi

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