Documente Academic
Documente Profesional
Documente Cultură
Title
Description
Survey data analysis in Stata is essentially the same as standard data analysis. The stand
For example,
. webuse nhanes2f
. svyset psuid [pweight=finalwgt], strata(stratid)
. svy: regress zinc age c.age#c.age weight female black orace rural
Command Description
Descriptive statistics
mean Estimate means
proportion Estimate proportions
ratio Estimate ratios
total Estimate totals
Menu
Dialog boxes for all statistical estimators that support svy can be found on the above menu
SE/Robust or SE/Cluster tab.
Examples
Descriptive statistics
. webuse nmihs
. svyset [pweight=finwgt], strata(stratan)
. svy: mean birthwgt
Regression models
. webuse nhanes2d
. svyset
. svy: logistic highbp height weight age age2 female
. svy, subpop(female): logistic highbp height weight age age2