mnar {missr} | R Documentation |
Missing not at random (MNAR) classification
Description
mnar()
presents the statistics from mar()
and mcar()
. If at least one
p-value in mar()
is not significant, and the p-value in mcar()
is
significant then the data is MNAR.
Usage
mnar(data)
Arguments
data |
A data frame |
Details
There exists no formal test for MNAR data. This function therefore
presents the statistics for the tests in mar()
and mcar()
. If the
results suggest the data is neither MAR nor MCAR, one can use process of
elimination to deduce that the data is MNAR.
Value
A list:
mcar |
Results of Little's MCAR test |
mar |
Results of MAR test |
Examples
mnar(companydata)
[Package missr version 1.0.1 Index]