MU284strat {robsurvey} | R Documentation |
Stratified Sample from the MU284 Population
Description
Stratified simple random sample (without replacement) of municipalities from the MU284 population in Särndal et al. (1992). Stratification is by geographic region and a take-all stratum (by 1975 population size), which includes the big cities Stockholm, Göteborg, and Malmö.
Usage
data(MU284strat)
Format
A data.frame
with 60 observations on the following variables:
LABEL
identifier variable,
[integer]
.P85
1985 population size (in thousands),
[double]
.P75
1975 population size (in thousands),
[double]
.RMT85
Revenues from the 1985 municipal taxation (in millions of kronor),
[double]
.CS82
number of Conservative seats in municipal council,
[double]
.SS82
number of Social-Democrat seats in municipal council (1982),
[double]
.S82
total number of seats in municipal council (1982),
[double]
.ME84
number of municipal employees in 1984,
[double]
.REV84
real estate values according to 1984 assessment (in millions of kronor),
[double]
.CL
cluster indicator (a cluster consists of a set of neighbouring municipalities),
[integer]
.REG
geographic region indicator,
[integer]
.Stratum
stratum indicator,
[integer]
.weights
sampling weights,
[double]
.fpc
finite population correction,
[double]
.
Details
The MU284 population of Särndal et al. (1992, Appendix B) is a
dataset with observations on the 284 municipalities in Sweden in the
late 1970s and early 1980s. The MU284
population data
are available in the sampling package of Tillé and Matei (2021).
The population is divided into two parts based on 1975 population
size (P75
):
the MU281 population, which consists of the 281 smallest municipalities;
the MU3 population of the three biggest municipalities/ cities in Sweden (Stockholm, Göteborg, and Malmö).
The three biggest cities take exceedingly large values (representative
outliers) on almost all of the variables. To account for this, a stratified
sample has been drawn from the MU284 population using a take-all stratum.
The sample data, MU284strat
, (of size n=60
) consists of
a stratified simple random sample (without replacement) from the MU281 population, where stratification is by geographic region (
REG
) with proportional sample size allocation;a take-all stratum that includes the three biggest cities/ municipalities (population M3).
Source
Särndal, C.-E., Swensson, B. and Wretman, J. (1992). Model Assisted Survey Sampling, New York: Springer-Verlag.
Tillé, Y. and Matei, A. (2021). sampling: Survey Sampling. R package version 2.9. https://CRAN.R-project.org/package=sampling
See Also
Examples
head(MU284strat)
library(survey)
# Survey design for stratified simple random sampling without replacement
dn <- if (packageVersion("survey") >= "4.2") {
# survey design with pre-calibrated weights
svydesign(ids = ~LABEL, strata = ~Stratum, fpc = ~fpc,
weights = ~weights, data = MU284strat,
calibrate.formula = ~-1 + Stratum)
} else {
# legacy mode
svydesign(ids = ~LABEL, strata = ~Stratum, fpc = ~fpc,
weights = ~weights, data = MU284strat)
}