Statalist


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

st: clustering at 2 levels


From   "Vivian Hoffmann" <veh4@cornell.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: clustering at 2 levels
Date   Wed, 23 Apr 2008 16:54:21 -0400 (EDT)

Hi Stata-listers,

Is there an easy way to introduce clustering at multiple levels when using
ivreg and ivtobit?

My two levels of clusters are village (vilid) and meteorological station
(id). Villages are randomly sampled from the population of villages. There
are 21 meteorological stations and I have matched one of these to each
village by minimum distance.

I tried to do 2-stage clustering using svyset <svyset id|| vilid> but got
the error "Note: stage 1 is sampled with replacement, all further stages
will be ignored".

I checked the Stata FAQ and apparently the solution to this problem is to
include a finite population correction for the highest level. But an FPC
on the met stations doesn't make sense, since these are not sampled. In
fact these are really more like strata (they cover mutually exclusive
territory). However these are not true strata and I think it would be
wrong to treat them as such.

Any suggestions would be appreciated.

Thanks!
Vivian

Vivian Hoffmann
Applied Economics and Management
Cornell University
1.607.316.7291
http://www.people.cornell.edu/pages/veh4/



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