Learn R Programming

RRTCS (version 0.0.4)

SahaData: Randomized Response Survey on spending on alcohol

Description

This data set contains observations from a randomized response survey conducted in a population of students to investigate spending on alcohol. The sample is drawn by simple random sampling with replacement. The randomized response technique used is the Saha model (Saha, 2007) with scramble variables \(W=U(1,2)\) and \(U=U(1,10)\).

Usage

data(SahaData)

Arguments

Format

A data frame containing 100 observations. The variables are:

  • ID: Survey ID

  • z: The randomized response to the queston: How much money did you spend on alcohol, last weekend?

  • Pi: first-order inclusion probabilities

References

Saha, A. (2007). A simple randomized response technique in complex surveys. Metron LXV, 59-66.

See Also

Saha

Examples

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

Run the code above in your browser using DataLab