Learn R Programming

RRreg (version 0.7.5)

Correlation and Regression Analyses for Randomized Response Data

Description

Univariate and multivariate methods to analyze randomized response (RR) survey designs (e.g., Warner, S. L. (1965). Randomized response: A survey technique for eliminating evasive answer bias. Journal of the American Statistical Association, 60, 63–69, ). Besides univariate estimates of true proportions, RR variables can be used for correlations, as dependent variable in a logistic regression (with or without random effects), or as predictors in a linear regression (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, ). For simulations and the estimation of statistical power, RR data can be generated according to several models. The implemented methods also allow to test the link between continuous covariates and dishonesty in cheating paradigms such as the coin-toss or dice-roll task (Moshagen, M., & Hilbig, B. E. (2017). The statistical analysis of cheating paradigms. Behavior Research Methods, 49, 724–732, ).

Copy Link

Version

Install

install.packages('RRreg')

Monthly Downloads

294

Version

0.7.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Daniel W. Heck

Last Published

November 25th, 2022

Functions in RRreg (0.7.5)

RRlog

Logistic randomized response regression
RRmixed

Mixed Effects Logistic Regression for RR Data
RRgen

Generate randomized response data
RRreg-package

Correlation and Regression Analyses for Randomized Response Designs
RRlin

Linear randomized response regression
RRcor

Bivariate correlations including randomized response variables
anova.RRlog

Analysis of Deviance for Logistic RR Regression Models
RRsimu

Monte Carlo simulation for one or two RR variables
RRuni

Univariate analysis of randomized response data
getPW

Get Misclassification Matrices for RR Models
predict.RRlog

Predict Individual Prevalences of the RR Attribute
plot.RRlog

Plot Logistic RR Regression
plot.powerplot

Plot power of multivariate RR methods
powerplot

Power plots for multivariate RR methods
minarets

Minaret Data