MRCV: A Package for Analyzing Categorical Variables with Multiple Response Options

Multiple response categorical variables (MRCVs), also known as “pick any” or “choose all that apply” variables, summarize survey questions for which respondents are allowed to select more than one category response option. Traditional methods for analyzing the association between categorical variables are not appropriate with MRCVs due to the within-subject dependence among responses. We have developed the MRCV package as the first R package available to correctly analyze MRCV data. Statistical methods offered by our package include counterparts to traditional Pearson chi-square tests for independence and loglinear models, where bootstrap methods and Rao-Scott adjustments are relied on to obtain valid inferences. We demonstrate the primary functions within the package by analyzing data from a survey assessing the swine waste management practices of Kansas farmers.

Natalie A. Koziol , Christopher R. Bilder
2014-04-19

CRAN packages used

MRCV, geepack

CRAN Task Views implied by cited packages

Econometrics, SocialSciences

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Koziol & Bilder, "MRCV: A Package for Analyzing Categorical Variables with Multiple Response Options", The R Journal, 2014

BibTeX citation

@article{RJ-2014-014,
  author = {Koziol, Natalie A. and Bilder, Christopher R.},
  title = {MRCV: A Package for Analyzing Categorical Variables with Multiple Response Options},
  journal = {The R Journal},
  year = {2014},
  note = {https://doi.org/10.32614/RJ-2014-014},
  doi = {10.32614/RJ-2014-014},
  volume = {6},
  issue = {1},
  issn = {2073-4859},
  pages = {144-150}
}