Statalist The Stata Listserver


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

st: RE: svy commands for random effects model


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: svy commands for random effects model
Date   Mon, 20 Nov 2006 15:54:45 -0000

"could not find" does not indicate how you looked, but 
on the face of it, even in Stata 9.2 there is no 
command combining -svy- and -xt-. The law of -svy- non-expertise
is that you're wrong even when you think you are right, 
so someone may correct me on that. 

You should certainly -update- from Stata 8.0 to 8.2, 
as you are missing many small extras and bug fixes. 
Upgrading to 9 is also naturally recommended, as -svy- stuff
is subject to substantial version-on-version improvement. 
Stuff you want that is added in future will be incompatible
with 8. 

Nick 
n.j.cox@durham.ac.uk 

ROBERT BOZICK
 
> I am working on an analysis that will require the use of a 
> random effects model on a data set that includes two 
> observations per individual.   The general form of the code I 
> am using to estimate the model is:
> 
> xtreg y x1 x2 x3, re i(id)
> 
> (id = the case id for each individual)
> 
> The sample uses a stratified cluster design and I therefore 
> have to use the svy commands when analyzing this data set.
> 
> I am using Stata 8.0 and could not find any documentation on 
> the application of svy commands with estimating a random 
> effects model.
> 
> Is there a svy command or some other procedure available so 
> that I can obtain the correct standard errors for this model?

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