Testing for MCAR: Little, Hawkins and Jamshidian–Jalal
What the three MCAR tests in CodeSplash check, how to read them together, and what a large p-value can't tell you.
What runs in CodeSplash
- STAT304Little MCAR test Runs in CodeSplash
- STAT305Hawkins homoscedasticity and normality test Runs in CodeSplash
- STAT306Jamshidian–Jalal missingness tests Runs in CodeSplash
- Missing-data patterns and MCAR tests Verified in Python and R
You will be able to
- Interpret Little's test on real data
- Explain why Hawkins' test can reject for reasons other than missingness
- Read the Jamshidian–Jalal decision
Read first
What the tests ask
ReadIf data are MCARMissing completely at randomMissingness unrelated to any value, observed or not; complete-case analysis stays unbiased., rows with different patterns of gaps are random samples of the same population. Their observed values should look alike.
All three tests compare the groups of rows that share a pattern. They differ in what they compare and what else they assume.
Little's test
PredictPredict first
Little's test compares the means of each pattern with what one multivariate normal model expects. On the air-quality data, Ozone is often missing in June. Which way do you expect the test to point?
Reveal
The answer: Not compatible with MCAR
Little's is 35.1 on 14 degrees of freedom, p = .001. These data are not compatible with MCAR.
A large p-value isn't proof
ReadOn simulated data, Little's test gives p = .485. That doesn't show the data are MCAR. It shows this test didn't find a difference in means.
Little's test can miss missingness that changes spread rather than means, and it has little power when few rows are incomplete.
Hawkins and Jamshidian–Jalal
ReadHawkins' test compares the spread across patterns. It assumes normal data, so it can reject because of non-normality, with missingness innocent.
Jamshidian and Jalal add a second stage to separate the two. When Hawkins rejects, a distribution-free Anderson–Darling k-sample test runs on the same patterns:
- Hawkins doesn't reject: consistent with MCAR.
- Hawkins rejects and the second test doesn't: likely non-normality.
- Both reject: not MCAR.
Read three results
ExploreHere are three datasets. Decide what each pair of p-values says, then compare with the verdict CodeSplash reports.
| Hawkins | Anderson–Darling | Verdict |
|---|---|---|
| p = .117 | p = .803 | consistent |
| p = .047 | p = .114 | non_normal |
| p < .001 | p = .003 | not_mcar |
Run them on your data
In the appIn Analyze, the option MCAR tests chooses Little, Jamshidian–Jalal, Hawkins or all of them.
Treat the result as one clue. A rejection tells you to take dropping rows seriously as a threat. A non-rejection doesn't license dropping them.
Check your understanding
CheckpointCheck yourself
Little's test gives p = 0.002. What can you conclude?
Show the answer
Answer: a
Rejecting MCAR leaves both MAR and MNAR open. The test can't tell those apart, and multiple imputation is designed for MAR.
Check yourself
Hawkins' test rejects and the Anderson–Darling stage does not. What is the most likely reading?
Show the answer
Answer: b
That is the purpose of the second stage: it drops the normality assumption, so a rejection that disappears points to non-normality.
Check yourself
In the second row of the table above, what is Hawkins' p-value? Give three decimals.
Show the answer
Answer: 0.0474232972088125
It sits just under the 0.05 convention, and the second stage then reads it as non-normality.
Recap
Recap- All three tests compare rows that share a pattern of gaps.
- Little's test looks at means. Hawkins' test looks at spread and assumes normality; Jamshidian–Jalal checks that assumption.
- A rejection rules out MCAR. A large p-value doesn't establish it.
Concepts in this lesson