ErikssonData: Randomized Response Survey on student cheating

Description Usage Format References See Also Examples


This data set contains observations from a randomized response survey conducted in a university to investigate cheating behaviour in exams. The sample is drawn by stratified sampling by university faculty with uniform allocation. The randomized response technique used is the Eriksson model (Eriksson, 1973) with parameter p=0.5 and S a discrete uniform variable at the points (0,1,3,5,8).

The data were used by Arcos et al. (2015).




A data frame containing 102 students of a sample extracted from a population of N=53376 divided into four strata. The variables are:

  • ID: Survey ID of student respondent

  • ST: Strata ID

  • z: The randomized response to the question: How many times have you cheated in an exam in the past year?

  • Pi: first-order inclusion probabilities


Arcos, A., Rueda, M. and Singh, S. (2015). A generalized approach to randomised response for quantitative variables. Quality and Quantity 49, 1239-1256.

Eriksson, S.A. (1973). A new model for randomized response. International Statistical Review 41, 40-43.

See Also




Search within the RRTCS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.