Stata svy

The -svy- prefix command adjusts estimation commands to take a survey design into account.


Usage

The -svyset- command must be used first, to declare the survey design.

As an example:

use https://stats.idre.ucla.edu/stat/stata/faq/svysmall, clear
svyset house [pweight = wt], strata(eth)
svy: regress y x1 x2 x3


See also

Stata manual for -svy-


CategoryRicottone

Stata/Svy (last edited 2025-12-18 16:04:12 by DominicRicottone)