Are answers missing at random, and what to do about gaps? (Little test, MCAR, multiple imputation)
In brief
If answers are missing, the first question is: are they missing without a recognisable pattern, or does the missingness depend on other values? The Little test checks the first possibility (MCAR, missing completely at random). If it holds, cases with gaps can be dropped without distorting the results. Otherwise multiple imputation helps: Statable fills the gaps several times with plausible values and combines the calculations.
When
- Little test: at least two number columns in which values are missing for some cases. Statable does not run the test with case weights.
- Imputation: at least two number columns with gaps. If more than half of the values are missing in a column, Statable does not fill.
How it works in Statable: Little test
- Run the card "How is something distributed?" with at least two number columns.
- Under the result open the section "Are values missing at random? (Little test)" and click "Calculate the test with … columns". Statable calculates in the browser.
Reading the result: Little test
- Statable gives χ² with degrees of freedom and p. A small p means: the test speaks against MCAR; which values are missing is recognisably related to the values in the other columns. Simply leaving out the cases with gaps can then distort the results.
- A large p only means: there is no hint against MCAR. That does not prove MCAR.
- The test assumes approximately normal numbers. With very many cases it reacts even to small deviations, with few it sees hardly anything. Whether values are missing depending on the value itself (MNAR), no test can separate.
How it works in Statable: imputation
- In the same area open the section "Fill the gaps and still calculate (multiple imputation)".
- Choose the "Outcome (column)" and tick the "Predictors". The "Number of filled data sets (5 to 100)" is set to 20.
- Click "Fill the gaps and calculate".
Reading the result: imputation
- Statable fills each column with gaps in turn from all the others (predictive mean matching like the R package mice): for each missing value the five most similar cases with a value are looked for and one of them is taken at random. This produces the filled data sets. The chance has a fixed starting value, so the result can be repeated.
- The regression is calculated in each data set; the table "Regression with filled gaps (combined following Rubin)" combines everything: B, standard error, t, degrees of freedom, p, 95% interval and the missing information. The uncertainty due to the gaps is contained in the standard errors.
- "Missing information" says what share of the uncertainty of a coefficient comes from the gaps. For comparison the result with only the cases without any gap is shown there.
- As a rule (White et al. 2011), at least as many data sets as percent of the cases with gaps.
What is often misunderstood
Filling assumes that the missingness depends only on the other columns, not on the missing value itself (MAR). This cannot be checked. It usually helps with gaps in many cases; with very few gaps hardly anything changes. Filled values are not new measurements.
Reporting the result
Report: how many values and how many cases have gaps (per column and overall), the result of the Little test (χ² with degrees of freedom and p), the assumption about the missingness (MCAR, MAR) with its reason, for the imputation the method (chained equations, predictive mean matching), the number of filled data sets, the columns in the filling model and the start value, then the results pooled by Rubin (B, standard error, degrees of freedom, p, interval, missing information). Also: the result with complete cases only for comparison. Overview of reporting: Sterne et al. 2009, BMJ 338, b2393; on the number of data sets: White, Royston & Wood 2011, Statistics in Medicine 30, 377-399 (at least as many as the percent of cases with gaps, as a rule of thumb).
Overall … % of the values were missing; … % of the cases had at least one gap. Little test: χ²(…) = …, p = …; [no evidence against MCAR/MCAR unlikely]. The gaps were filled by multiple imputation (chained equations, predictive mean matching) in m = … data sets (start value …); the analysis was pooled by Rubin. [Predictor]: B = …, SE = …, t(…) = …, p = …, 95% CI […, …], missing information = …. Complete cases only (n = …): B = ….
For specialists
Little (1988): EM estimation of means and covariance matrix from all cases, d² = Σ_j n_j (ȳ_j - μ_j)' Σ_j⁻¹ (ȳ_j - μ_j) over the missing patterns j, df = Σ_j k_j - p; approximately χ² distributed under MCAR. Reference values: R naniar::mcar_test. Imputation: chained equations with predictive mean matching (5 donors, type 1), 10 iterations per data set. Pooling after Rubin (1987): Q̄, Ū, B, T = Ū + (1 + 1/m) B, degrees of freedom after Barnard and Rubin (1999), FMI. The pooling agrees with R mice::pool.
Sources
Little, R. J. A. (1988). A test of missing completely at random for multivariate data with missing values. Journal of the American Statistical Association, 83, 1198-1202. Rubin, D. B. (1987). Multiple imputation for nonresponse in surveys. Wiley. Barnard, J. & Rubin, D. B. (1999). Small-sample degrees of freedom with multiple imputation. Biometrika, 86, 948-955. van Buuren, S. & Groothuis-Oudshoorn, K. (2011). mice: Multivariate imputation by chained equations in R. Journal of Statistical Software, 45(3), 1-67. White, I. R., Royston, P. & Wood, A. M. (2011). Multiple imputation using chained equations. Statistics in Medicine, 30, 377-399.