CRAN_Status_Badge Workflow Licence monthly downloads total downloads


The package RRreg provides univariate and multivariate methods for randomized response (RR) survey designs (e.g., Warner, 1965). Univariate estimates of true proportions can be obtained using RRuni. RR variables can be used in multivariate analyses for correlations (RRcor), as dependent variable in a logistic regression (RRlog) and as predictors in a linear regression (RRlin). The function RRgen generates single RR data sets, whereas RRsimu generates and analyzes RR data repeatedly for simulation and bootstrap purposes.


The package can be downloaded from CRAN by typing install.packages("RRreg") in an active R session.

To get the most recent version, RRreg can also directly be installed from GitHub by:

# install.packages("devtools")

The manual is available within R by typing vignette('RRreg').


If you use RRreg in publications, please cite the package as follows:

danheck/RRreg documentation built on Dec. 3, 2022, 7:50 p.m.