R package for multivariate analyses of the randomized response technique
Switch branches/tags
Nothing to show
Clone or download
Latest commit c31ee86 Oct 23, 2018

README.md

CRAN_Status_Badge Build Status Licence monthly downloads total downloads

RRreg

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.

Links

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")
devtools::install_github("danheck/RRreg")

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

Citation

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

Heck, D. W., & Moshagen, M. (2018). RRreg: An R package for correlation and regression analyses of randomized response data. Journal of Statistical Software, 85 (2), 1–29. doi: 10.18637/jss.v085.i02