Package: RRreg 0.7.6

RRreg: Correlation and Regression Analyses for Randomized Response Data

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, <doi:10.2307/2283137>). 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, <doi:10.18637/jss.v085.i02>). 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, <doi:10.3758/s13428-016-0729-x>).

Authors:Daniel W. Heck [cre, aut], Morten Moshagen [ctb]

RRreg_0.7.6.tar.gz
RRreg_0.7.6.zip(r-4.7)RRreg_0.7.6.zip(r-4.6)RRreg_0.7.6.zip(r-4.5)
RRreg_0.7.6.tgz(r-4.6-any)RRreg_0.7.6.tgz(r-4.5-any)
RRreg_0.7.6.tar.gz(r-4.7-any)RRreg_0.7.6.tar.gz(r-4.6-any)
RRreg_0.7.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
RRreg/json (API)

# Install 'RRreg' in R:
install.packages('RRreg', repos = c('https://danheck.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/danheck/rrreg/issues

Datasets:

On CRAN:

Conda:

5.72 score 3 stars 88 scripts 364 downloads 2 mentions 9 exports 18 dependencies

Last updated from:fa0eca03e2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK156
source / vignettesOK187
linux-release-x86_64OK152
macos-release-arm64OK100
macos-oldrel-arm64OK103
windows-develOK100
windows-releaseOK95
windows-oldrelOK112
wasm-releaseOK105

Exports:getPWpowerplotRRcorRRgenRRlinRRlogRRmixedRRsimuRRuni

Dependencies:bootcodetoolsdoParallelforeachiteratorslatticelme4MASSMatrixminqanlmenloptrrbibutilsRcppRcppEigenRdpackreformulasrlang

RRreg: Correlation and regression analysis for randomized response designs
Introduction | Statistical Methods | Univariate Analysis | Multivariate Analysis | RRcor: RR correlations | RRlog: Logistic RR Regression | RRmixed: Logistic RR Regression with Mixed Effects | RRlin: RR Predictors in a Linear Regression | Testing RR vs. Direct Questioning (DQ) | Specification of RR Models Using One Group | Unrelated Question Techique with Known Prevalance (UQTknown) | Mangat's RR Design | Kuk's RR Design | Forced Response (FR) | Crosswise Model | Triangular Model | RR as Misclassification | Specification of RR Models Using Two Groups | Unrelated Question Technique with Unknown Prevalance (UQTunknown) | Cheating Detection Model (CDM) | Symmetric CDM (CDMsym) | Stochastic Lie Detector (SLD) | Code Examples for Two-Group Models

Last update: 2025-07-22
Started: 2014-11-16

Heck & Moshagen (2018): RRreg paper (Journal of Statistical Software)
Introduction | Randomized response models | Multivariate methods for randomized response data | Empirical example: Attitudes against minarets in Germany | Discussion

Last update: 2018-07-26
Started: 2018-07-26