Learn R Programming

robsurvey (version 0.7)

MU284pps: PPS Sample From the MU284 Population

Description

Probability-proportional-to-size sample (PPS) without replacement of municipalities from the MU284 population in Särndal et al. (1992). The sample inclusion probabilities are proportional to the population size in 1975 (variable P75).

Usage

data(MU284pps)

Arguments

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].

REG

geographic region indicator, [integer].

CL

cluster indicator (a cluster consists of a set of neighbouring municipalities), [integer].

weights

sampling weights, [double].

pi

sample inclusion probability, [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 data frame MU284pps is a probability-proportional-to-size sample (PPS) without replacement from the MU284 population. The sample inclusion probabilities are proportional to the population size in 1975 (variable P75). The sample has been selected by Brewer’s method; see Tillé (2006, Chap. 7). The sampling weight (inclusion probabilities) are calibrated to the population size and the population total of P75.

See Also

MU284strat

Examples

Run this code
head(MU284pps)

library(survey)
# Survey design with inclusion probabilities proportional to size
dn <- if (packageVersion("survey") >= "4.2") {
        # survey design with pre-calibrated weights
        svydesign(ids = ~LABEL, fpc = ~pi, data = MU284pps, pps = "brewer",
                  calibrate.formula = ~1)
    } else {
        # legacy mode
        svydesign(ids = ~LABEL, fpc = ~pi, data = MU284pps, pps = "brewer")
    }

Run the code above in your browser using DataLab