Software to Compute Sampling Weights for Multilevel Analysis
C. M. Suchindran
Carolina Population Center
University of North Carolina at Chapel Hill
Last Update: April 28, 2011
Research in estimating multilevel models (MLM) from complex survey data is quite recent. Not only has this research resulted in several popular software packages incorporating sampling weights when estimating MLM, but has emphasized an important point often overlooked by both analysts and providers of survey data: the sampling weights used for multilevel analysis need to be constructed differently than the sampling weights used for single-level analysis. Both the distributors of data and the developers of MLM software packages often leave users responsible for proper scaling of MLM sampling weights. In addition, the method of scaling can be different for the various MLM software packages. To address this problem, we created Stata and SAS programs for constructing sampling weights for estimating two-level models that can be used with several popular multilevel software packages (gllamm (Stata), LISREL, MLwiN, Mplus). Documentation is available to instruct analysts in using these programs. We describe the weight components that the user must provide to our programs to create the two-level weights, provide information about several popular multilevel software packages that allow these sampling weights to be used in estimation, and instruct the analyst in downloading and running these programs.
Full Text (PDF)
NOTE: Installation and use instructions are found in the above PDF document.
SAS 9.1 and earlier
You can install directly using the Stata command net install command:
net install pwigls, from (http://www.cpc.unc.edu/research/tools/data_analysis/ml_sampling_weights/) replace net install mpml_wt, from (http://www.cpc.unc.edu/research/tools/data_analysis/ml_sampling_weights/) replace
Or, you can download the files below and install them manually: