Skip to contents

The goal of missr is to help you classify missing data as MCAR, MAR, or MNAR. It does this by providing:

  • Statistical tests for MCAR and MAR:
  • Process of elimination for MNAR:

Installation

You can install missr from CRAN:

Or you can install the development version on github using remotes:

# install.packages("remotes")
remotes::install_github("NoahHellen/missr")

Examples

  • Testing for MCAR.
    • Null hypothesis is that data is MCAR; if the p-value is not significant, there is evidence the data is MCAR.
mcar(data)
  • Testing for MAR.
    • Each null hypothesis is that data is not MAR; if each p-value is significant, there is evidence the data is MAR.
mar(data)
  • Testing for MNAR.
    • No new tests, simply a process of elimination.
mnar(data)

License

missr has an MIT license, as found in the LICENSE file.