2024 Stata Biostatistics and Epidemiology Virtual Symposium · 22 February
|Multiple clustering levels
|Bill Sribney, StataCorp
The svy commands actually allow multiple levels of clustering, but you only need to specify the first level.
This is because the variance estimator used by the svy commands allows any amount of correlation or clustering within the primary sampling units. See [U] 30.2.1 Multistage sample designs.
This method (to only account explicitly for the primary sampling units) is a standard one in survey statistics.
There are other variance estimation methods that explicitly account for secondary sampling. However, these methods require more assumptions than the svy estimator. If these assumptions are correct, then these other methods may yield more efficient variance estimates. However, the svy estimator is more robust than these methods.
Thus, most survey statisticians use the svy variance estimator or other methods, such as a jackknife, that only account explicitly for the primary sampling units.
Classroom and web training
Teaching with Stata
Statalist: The Stata Forum
Last updated: 16 November 2022
StataCorp LLC (StataCorp) strives to provide our users with exceptional products and services. To do so, we must collect personal information from you. This information is necessary to conduct business with our existing and potential customers. We collect and use this information only where we may legally do so. This policy explains what personal information we collect, how we use it, and what rights you have to that information.
These cookies are essential for our website to function and do not store any personally identifiable information. These cookies cannot be disabled.
Please note: Clearing your browser cookies at any time will undo preferences saved here. The option selected here will apply only to the device you are currently using.