sampcompR: Comparing and Visualizing Differences Between Surveys

Easily analyze and visualize differences between samples (e.g., benchmark comparisons, nonresponse comparisons in surveys) on three levels. The comparisons can be univariate, bivariate or multivariate. On univariate level the variables of interest of a survey and a comparison survey (i.e. benchmark) are compared, by calculating one of several difference measures (e.g., relative difference in mean), and an average difference between the surveys. On bivariate level a function can calculate significant differences in correlations for the surveys. And on multivariate levels a function can calculate significant differences in model coefficients between the surveys of comparison. All of those differences can be easily plotted and outputted as a table. For more detailed information on the methods and example use see Rohr, B., Silber, H., & Felderer, B. (2024). Comparing the Accuracy of Univariate, Bivariate, and Multivariate Estimates across Probability and Nonprobability Surveys with Population Benchmarks. Sociological Methodology <doi:10.1177/00811750241280963>.

Version: 0.2.6
Depends: R (≥ 2.10)
Imports: boot, data.table, dplyr, forcats, furrr, future, ggplot2, Hmisc, lmtest, magrittr, psych, purrr, readr, reshape2, sandwich, stats, survey, svrep, tibble, tidyr
Suggests: testthat (≥ 3.0.0), jtools, utils, parallel, stargazer
Published: 2024-12-08
DOI: 10.32614/CRAN.package.sampcompR
Author: Bjoern Rohr [aut, cre, cph], Barbara Felderer [aut]
Maintainer: Bjoern Rohr <bjoern.rohr at gesis.org>
License: GPL-3
URL: https://bjoernrohr.github.io/sampcompR/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: sampcompR results

Documentation:

Reference manual: sampcompR.pdf

Downloads:

Package source: sampcompR_0.2.6.tar.gz
Windows binaries: r-devel: sampcompR_0.2.6.zip, r-release: sampcompR_0.2.6.zip, r-oldrel: sampcompR_0.2.6.zip
macOS binaries: r-release (arm64): sampcompR_0.2.6.tgz, r-oldrel (arm64): sampcompR_0.2.6.tgz, r-release (x86_64): sampcompR_0.2.6.tgz, r-oldrel (x86_64): sampcompR_0.2.6.tgz
Old sources: sampcompR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sampcompR to link to this page.