Stata 11 help for survey

help survey -------------------------------------------------------------------------------

Title

[SVY] survey -- Introduction to survey commands

Description

Stata's facilities for survey data are centered around the svy prefix command. This overview organizes and presents the commands conceptually, that is, according to the similarities in the functions that they perform.

Survey design tools

svyset Declare survey design for dataset svydescribe Describe survey data

Survey data analysis tools

svy The survey prefix command svy estimation Estimation commands for survey data svy: tabulate oneway One-way tables for survey data svy: tabulate twoway Two-way tables for survey data svy postestimation Postestimation tools for svy estat svy Postestimation statistics for survey data, such as design effects svy brr Balanced repeated replication for survey data brr_options More options for BRR variance estimation svy jackknife Jackknife estimation for survey data jackknife_options More options for jackknife variance estimation

Survey data concepts (see the [SVY] manual for information)

variance estimation Variance estimation for survey data subpopulation estimation Subpopulation estimation for survey data direct standardization Direct standardization of means, proportions, and ratios poststratification Poststratification for survey data

Tools for programmers of new survey commands

ml Maximum pseudolikelihood estimation for survey data svymarkout Mark observation for exclusion on the basis of survey characteristics

Examples

Setup . webuse multistage

Declare the data to be complex survey data . svyset county [pw=sampwgt], strata(state) fpc(ncounties) || school, fpc(nschools)

Estimate the average weight of high school seniors in our population . svy: mean weight, over(sex)

Test the hypothesis that the average male is 30 pounds heavier than the average female . test [weight]male - [weight]female = 30

Also see

Manual: [SVY] survey

Help: [R] estat, [R] jackknife, [R] lincom, [R] nlcom, [R] predict, [R] predictnl, [R] test, [R] testnl; [P] _robust


© Copyright 1996–2009 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index