Learn R Programming

RRTCS (version 0.0.4)

ForcedResponseData: Randomized Response Survey of a simulated population

Description

This data set contains observations from a randomized response survey obtained from a simulated population. The main variable is a binomial distribution with a probability 0.5. The sample is drawn by simple random sampling without replacement. The randomized response technique used is the Forced Response model (Boruch, 1972) with parameters \(p_1=0.2\) and \(p_2=0.2\).

Usage

data(ForcedResponseData)

Arguments

Format

A data frame containing 1000 observations from a population of \(N=10000\). The variables are:

  • ID: Survey ID

  • z: The randomized response

  • Pi: first-order inclusion probabilities

References

Boruch, R.F. (1972). Relations among statistical methods for assuring confidentiality of social research data. Social Science Research, 1, 403-414.

See Also

ForcedResponse

Examples

Run this code
# NOT RUN {
data(ForcedResponseData)
# }

Run the code above in your browser using DataLab