Learn R Programming

RRTCS (version 0.0.4)

DianaPerri2Data: Randomized Response Survey of a simulated population

Description

This data set contains observations from a simulated randomized response survey. The interest variable is a normal distribution with mean 1500 and standard deviation 4. The sample is drawn by simple random sampling without replacement. The randomized response technique used is the Diana and Perri 2 model (Diana and Perri, 2010) with parameters \(W=F(10,50), U=F(1,5)\) and \(\beta=0.8\).

Usage

data(DianaPerri2Data)

Arguments

Format

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

  • ID: Survey ID

  • z: The randomized response

  • Pi: first-order inclusion probabilities

References

Diana, G., Perri, P.F. (2010). New scrambled response models for estimating the mean of a sensitive quantitative character. Journal of Applied Statistics 37 (11), 1875<U+2013>1890.

See Also

DianaPerri2

Examples

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

Run the code above in your browser using DataLab