There are three assumptions about the process by which data become missing [1].
The process by which data become missing is random, and so missing data can be formalised from a probabilistic perspective.
The following unifies the formalisms in [1], [2], and [3].
The definitions of MCAR, MAR, and MNAR are based on the probability distribution of \(M\).
The above is summarised informally below [1].
| Assumption | You can predict \(M\) with: |
|---|---|
| MCAR | - |
| MAR | \(D_{obs}\) |
| MNAR | \(D_{obs}\) and \(D_{mis}\) |
To tell MAR from MNAR you would need to know whether missingness
depends on \(D_{mis}\), but \(D_{mis}\) is exactly what you cannot see.
Molenberghs et al. [5] proved that every MNAR model has an MAR “twin”
that fits the observed data exactly as well. So no test can tell MAR
from MNAR using the data alone. Every test of MAR adds an assumption,
and mar() says which one it uses.
Wang, Lu and Liu [6] assume that the chance a value \(y\) is recorded follows a logistic model, \(P(M = 1 \mid x, y) = \text{logit}^{-1}(x^\top\beta + \gamma y)\), where \(x\) are the fully recorded columns. MAR means \(\gamma = 0\). The score test checks whether \(\gamma = 0\) using only estimates made under MAR, so it never has to fit the hard-to-identify MNAR model.
The test gets its power from recorded information that predicts \(y\) but is assumed not to drive missingness. When you name an instrument, it is left out of \(x\) in the missingness model, and the test becomes much more powerful. Without one, only the straight-line shape of the missingness model separates MAR from MNAR, and the test catches about half of clear MNAR cases in missr’s benchmarks. A rejection can also mean that the working models are wrong.
An instrument is a fully recorded column that is linked to the column with gaps but does not itself affect whether values go missing. For example, suppose this year’s income has gaps and last year’s income is fully recorded. Last year’s income predicts this year’s, but it is reasonable to assume that it is this year’s income, not last year’s, that makes people skip the question.
Under MAR, once the other recorded columns are known, the instrument
should not help predict which values are missing. Under MNAR it does,
because it carries information about the missing values.
mar() checks this with a likelihood ratio test of two
logistic models, after Breunig [7].
Whether a column is a valid instrument cannot be checked from the
data. The column most linked to the column with gaps is often the one
that drives its missingness, and using it would cause false alarms. So
mar() never picks one for you: it only suggests candidates.
If your data has none, consider adding one, such as the same measurement
from an earlier time.
MAR and MNAR describe the whole data frame. mar() runs
its tests once per column with gaps, adjusts all the p-values together
(Holm), and reports “Evidence of MNAR” if any adjusted p-value is below
alpha.
[1] King G, Honaker J, Joseph A, Scheve K. Analyzing Incomplete Political Science Data: An Alternative Algorithm for Multiple Imputation. American Political Science Review. 2001 March.
[2] Little RJA. A Test of Missing Completely at Random for Multivariate Data with Missing Values. Journal of the American Statistical Association. 1988;83(404):1198-202.
[3] Rubin DB. Inference and Missing Data. Biometrika. 1976;63(3):581-92.
[4] Joseph G Ibrahim HZ, Tang N. Model Selection Criteria for Missing-Data Problems Using the EM Algorithm. Journal of the American Statistical Asso- ciation. 2008;103(484):1648-58. PMID: 19693282.
[5] Molenberghs G, Beunckens C, Sotto C, Kenward MG. Every missingness not at random model has a missingness at random counterpart with equal fit. Journal of the Royal Statistical Society: Series B. 2008;70(2):371-88.
[6] Wang H, Lu Z, Liu Y. Score test for missing at random or not under logistic missingness models. Biometrics. 2023.
[7] Breunig C. Testing missing at random using instrumental variables. Journal of Business & Economic Statistics. 2019.