Comparing and Visualizing Differences Between Surveys
Returns a table based on the information of a biv_compare_object
tha...
Returns a table based on the information of a biv_compare_object
whi...
Compare Multiple Data Frames on a Bivariate Level
Returns a table based on the information of a biv_compare_object
tha...
Equalize dataframes
Get a Descriptive Table for Every Data Frame
Plot Difference or Relative Difference in Pearson's r for Multiple Dat...
Returns a Table indicating the number and proportion of NA values for ...
Combine multi_compare_objects
Create an Output-Table of a multi_compare_object
Compares data frames using different regression methods.
Returns a table based on the information of a multi_compare_object
t...
Plot Comparison of Multiple Data Frames on a Bivariate Level
Plot Multiple multi_compare_objects
plot univar data
Calculate the R-Indicator
sampcompR: A package for the comparison of samples
Create an Output-Table of a uni_compare_object
Compare data frames and Plot Differences
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>.