{
  "_id": "6a1f07beb401979e7341bf53",
  "Package": "RRreg",
  "Type": "Package",
  "Title": "Correlation and Regression Analyses for Randomized Response Data",
  "Version": "0.7.6",
  "Date": "2025-07-22",
  "Authors@R": "c(person(\"Daniel W.\", \"Heck\", \nemail = \"daniel.heck@uni-marburg.de\",\nrole = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0002-6302-9252\")),\nperson(\"Morten\", \"Moshagen\",\nemail = \"morten.moshagen@uni-ulm.de\",\nrole = \"ctb\"))",
  "Description": "Univariate and multivariate methods to analyze randomized\nresponse (RR) survey designs (e.g., Warner, S. L. (1965).\nRandomized response: A survey technique for eliminating evasive\nanswer bias. Journal of the American Statistical Association,\n60, 63–69, <doi:10.2307/2283137>). Besides univariate estimates\nof true proportions, RR variables can be used for correlations,\nas dependent variable in a logistic regression (with or without\nrandom effects), or as predictors in a linear regression (Heck,\nD. W., & Moshagen, M. (2018). RRreg: An R package for\ncorrelation and regression analyses of randomized response\ndata. Journal of Statistical Software, 85(2), 1–29,\n<doi:10.18637/jss.v085.i02>). For simulations and the\nestimation of statistical power, RR data can be generated\naccording to several models. The implemented methods also allow\nto test the link between continuous covariates and dishonesty\nin cheating paradigms such as the coin-toss or dice-roll task\n(Moshagen, M., & Hilbig, B. E. (2017). The statistical analysis\nof cheating paradigms. Behavior Research Methods, 49, 724–732,\n<doi:10.3758/s13428-016-0729-x>).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "URL": "https://github.com/danheck/RRreg",
  "VignetteBuilder": "knitr, R.rsp",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://danheck.r-universe.dev",
  "Date/Publication": "2025-07-22 12:55:09 UTC",
  "RemoteUrl": "https://github.com/danheck/rrreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 06:39:46 UTC",
    "User": "root"
  },
  "Author": "Daniel W. Heck [cre, aut] (ORCID:\n<https://orcid.org/0000-0002-6302-9252>),\nMorten Moshagen [ctb]",
  "Maintainer": "Daniel W. Heck <daniel.heck@uni-marburg.de>",
  "MD5sum": "3f0dbb784eda793254cbc4a5f56bb194",
  "_user": "danheck",
  "_type": "src",
  "_file": "RRreg_0.7.6.tar.gz",
  "_fileid": "670bcd350b3455cf4d04385d27015819713c7bf142893c3417628e3ae2c7dce9",
  "_filesize": 2023445,
  "_sha256": "670bcd350b3455cf4d04385d27015819713c7bf142893c3417628e3ae2c7dce9",
  "_created": "2026-05-18T06:39:46.000Z",
  "_published": "2026-06-02T16:41:34.679Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79123094691,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7051095740"
    },
    {
      "job": 79123094485,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051096333"
    },
    {
      "job": 79123094221,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7051098135"
    },
    {
      "job": 79123094588,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051093021"
    },
    {
      "job": 79123094068,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051057976"
    },
    {
      "job": 79123093684,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364053745"
    },
    {
      "job": 79123094767,
      "time": 132,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7051090810"
    },
    {
      "job": 79123094521,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7051083915"
    },
    {
      "job": 79123094490,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051083114"
    }
  ],
  "_buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/danheck/rrreg",
  "_commit": {
    "id": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
    "author": "Daniel Heck <danheck@web.de>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1753188909
  },
  "_maintainer": {
    "name": "Daniel W. Heck",
    "email": "daniel.heck@uni-marburg.de",
    "login": "danheck",
    "mastodon": "@Daniel_Heck@mastodon.social",
    "bluesky": "@danielheck.bsky.social",
    "orcid": "0000-0002-6302-9252",
    "description": "",
    "uuid": 9395768
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "danheck",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "danheck",
      "count": 77,
      "uuid": 9395768
    },
    {
      "user": "moshagen",
      "count": 1,
      "uuid": 18327066
    }
  ],
  "_userbio": {
    "uuid": 9395768,
    "type": "user",
    "name": "Daniel Heck"
  },
  "_downloads": {
    "count": 311,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RRreg"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/danheck/rrreg",
  "_searchresults": 55,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RRreg.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/danheck/rrreg",
  "_realowner": "danheck",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2014-09-20"
    },
    {
      "version": "0.2.0",
      "date": "2014-11-18"
    },
    {
      "version": "0.3.0",
      "date": "2015-02-23"
    },
    {
      "version": "0.4.1",
      "date": "2015-07-28"
    },
    {
      "version": "0.5.0",
      "date": "2015-11-12"
    },
    {
      "version": "0.6.0",
      "date": "2015-12-14"
    },
    {
      "version": "0.6.1",
      "date": "2016-01-12"
    },
    {
      "version": "0.6.2",
      "date": "2017-03-08"
    },
    {
      "version": "0.6.4",
      "date": "2018-01-05"
    },
    {
      "version": "0.6.5",
      "date": "2018-02-11"
    },
    {
      "version": "0.6.6",
      "date": "2018-03-29"
    },
    {
      "version": "0.6.7",
      "date": "2018-04-04"
    },
    {
      "version": "0.6.8",
      "date": "2018-06-04"
    },
    {
      "version": "0.6.9",
      "date": "2018-07-26"
    },
    {
      "version": "0.7.0",
      "date": "2018-08-27"
    },
    {
      "version": "0.7.1",
      "date": "2019-12-05"
    },
    {
      "version": "0.7.3",
      "date": "2021-09-03"
    },
    {
      "version": "0.7.4",
      "date": "2022-11-10"
    },
    {
      "version": "0.7.5",
      "date": "2022-11-25"
    },
    {
      "version": "0.7.6",
      "date": "2025-07-22"
    }
  ],
  "_exports": [
    "getPW",
    "powerplot",
    "RRcor",
    "RRgen",
    "RRlin",
    "RRlog",
    "RRmixed",
    "RRsimu",
    "RRuni"
  ],
  "_datasets": [
    {
      "name": "minarets",
      "title": "Minaret Data",
      "object": "minarets",
      "file": "minarets.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "leftRight",
        "rrt",
        "condition",
        "RRdesign",
        "leftRight.c",
        "age.c"
      ],
      "rows": 1621,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "RRreg-package",
      "title": "Correlation and Regression Analyses for Randomized Response Designs",
      "topics": [
        "RRreg-package",
        "RRreg"
      ]
    },
    {
      "page": "anova.RRlog",
      "title": "Analysis of Deviance for Logistic RR Regression Models",
      "topics": [
        "anova.RRlog"
      ]
    },
    {
      "page": "getPW",
      "title": "Get Misclassification Matrices for RR Models",
      "topics": [
        "getPW"
      ]
    },
    {
      "page": "minarets",
      "title": "Minaret Data",
      "topics": [
        "minarets"
      ]
    },
    {
      "page": "plot.powerplot",
      "title": "Plot power of multivariate RR methods",
      "topics": [
        "plot.powerplot"
      ]
    },
    {
      "page": "plot.RRlog",
      "title": "Plot Logistic RR Regression",
      "topics": [
        "plot.RRlog"
      ]
    },
    {
      "page": "powerplot",
      "title": "Power plots for multivariate RR methods",
      "topics": [
        "powerplot"
      ]
    },
    {
      "page": "predict.RRlog",
      "title": "Predict Individual Prevalences of the RR Attribute",
      "topics": [
        "predict.RRlog"
      ]
    },
    {
      "page": "RRcor",
      "title": "Bivariate correlations including randomized response variables",
      "topics": [
        "RRcor"
      ]
    },
    {
      "page": "RRgen",
      "title": "Generate randomized response data",
      "topics": [
        "RRgen"
      ]
    },
    {
      "page": "RRlin",
      "title": "Linear randomized response regression",
      "topics": [
        "RRlin"
      ]
    },
    {
      "page": "RRlog",
      "title": "Logistic randomized response regression",
      "topics": [
        "RRlog"
      ]
    },
    {
      "page": "RRmixed",
      "title": "Mixed Effects Logistic Regression for RR Data",
      "topics": [
        "RRmixed"
      ]
    },
    {
      "page": "RRsimu",
      "title": "Monte Carlo simulation for one or two RR variables",
      "topics": [
        "RRsimu"
      ]
    },
    {
      "page": "RRuni",
      "title": "Univariate analysis of randomized response data",
      "topics": [
        "RRuni"
      ]
    }
  ],
  "_readme": "https://github.com/danheck/rrreg/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "codetools",
    "doParallel",
    "foreach",
    "iterators",
    "lattice",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "Heck_Moshagen_2018_JSS.pdf.asis",
      "filename": "Heck_Moshagen_2018_JSS.pdf",
      "title": "Heck & Moshagen (2018): RRreg paper (Journal of Statistical Software)",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2018-07-26 09:12:24",
      "modified": "2018-07-26 09:12:24",
      "commits": 1
    },
    {
      "source": "RRreg.Rmd",
      "filename": "RRreg.html",
      "title": "RRreg: Correlation and regression analysis for randomized response designs",
      "author": "Daniel W. Heck",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2014-11-16 16:47:10",
      "modified": "2025-07-22 09:19:40",
      "commits": 15
    }
  ],
  "_score": 5.518513939877888,
  "_indexed": true,
  "_nocasepkg": "rrreg",
  "_universes": [
    "danheck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.6",
      "date": "2026-05-18T06:42:05.000Z",
      "distro": "noble",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "631ba52f941f8d1935b58bb3e574cafb1559acf08c445534436472b49521bb35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.6",
      "date": "2026-05-18T06:42:09.000Z",
      "distro": "noble",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "5dc1fa5d448116f767b1f07cb781e5b1a44aed20284bca6a4f6dfb2fbfb5ba6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.6",
      "date": "2026-05-18T06:42:26.000Z",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "fa35cce8ffdfcab8c87e3e7decfb729621a36c8d3dd6b66c15ec66c518d2ebff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.6",
      "date": "2026-05-18T06:42:05.000Z",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "5037430ff39222733c1d94b304d07599d71495982a86f1aa436b358b82ea278d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.6",
      "date": "2026-05-18T06:41:39.000Z",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "4dbfafb805ecaef6aca6da45cbb91a79672104f50f2125471d7f0ad26e09df76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.6",
      "date": "2026-05-18T06:41:11.000Z",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "03e8c60ab13f276c7951e5f4df7f2ed5a3578e66bc204c29c5aff64aac1dc8ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.6",
      "date": "2026-05-18T06:41:09.000Z",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "7f8fd845c5e8ca17a314806e4cb8abcad70ab1b30473dceb9ea06964bf6bafe7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.6",
      "date": "2026-06-02T16:41:10.000Z",
      "commit": "fa0eca03e2755d69c6bd30b582eab25ee0e2b5a1",
      "fileid": "452c7cb8b40d377167349cdbee97085f7d66a213c5b61e406adc5697809b4c2c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/danheck/actions/runs/26017620070"
    }
  ]
}