Statalist The Stata Listserver


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

Re: st: RE: svy commands for random effects model


From   ROBERT BOZICK <rbozick@jhu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: svy commands for random effects model
Date   Mon, 20 Nov 2006 12:12:28 -0500

Thanks Nick.  I definitely need to upgrade my software!

Does anyone else know how to properly deal with the survey design issue when estimating these types of models or this capability (svy commands or otherwise) not available when using STATA?


----- Original Message -----
From: Nick Cox <n.j.cox@durham.ac.uk>
Date: Monday, November 20, 2006 11:00 am
Subject: st: RE: svy commands for random effects model
To: statalist@hsphsun2.harvard.edu


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