UCLA Academic Technology Services HomeServicesClassesContactJobs
Help the Stat Consulting Group by giving a gift             
Loading

Stata FAQ
How do I analyze survey data with a repeated systematic sample design?

The examples below use Stata 8.  If you are using Stata version 9, please see this page.

This example is taken from Levy and Lemeshow's Sampling of Populations.

page 106 repeated systematic sampling
input cluster xi wt1 xibar M
2 15 9 5 54
13 13 9 4.33 54
31 12 9 4.00 54
34 10 9 3.33 54
46 21 9 7 54
53 10 9 3.33 54
end
svyset [pweight=wt1], fpc(M)
svymean xibar

Survey mean estimation

pweight:  wt1                                     Number of obs    =         6
Strata:   <one>                                   Number of strata =         1
PSU:      <observations>                          Number of PSUs   =         6
FPC:      M                                       Population size  =        54

------------------------------------------------------------------------------
    Mean |   Estimate    Std. Err.   [95% Conf. Interval]        Deff
---------+--------------------------------------------------------------------
   xibar |   4.498333    .5310139    3.133318    5.863348           1
------------------------------------------------------------------------------
Finite population correction (FPC) assumes simple random sampling without 
replacement of PSUs within each stratum with no subsampling within PSUs.
Weights must represent population totals for deff to be correct when
using an FPC.  Note: deft is invariant to the scale of weights.
svytotal xi

Survey total estimation

pweight:  wt1                                     Number of obs    =         6
Strata:   <one>                                   Number of strata =         1
PSU:      <observations>                          Number of PSUs   =         6
FPC:      M                                       Population size  =        54

------------------------------------------------------------------------------
   Total |   Estimate    Std. Err.   [95% Conf. Interval]        Deff
---------+--------------------------------------------------------------------
      xi |        729    85.94882    508.0615    949.9385           1
------------------------------------------------------------------------------
Finite population correction (FPC) assumes simple random sampling without 
replacement of PSUs within each stratum with no subsampling within PSUs.
Weights must represent population totals for deff to be correct when
using an FPC.  Note: deft is invariant to the scale of weights.

How to cite this page

Report an error on this page or leave a comment

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California