statable Statistics for study and research

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

How it works in Statable: Little test

  1. Run the card "How is something distributed?" with at least two number columns.
  2. 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

How it works in Statable: imputation

  1. In the same area open the section "Fill the gaps and still calculate (multiple imputation)".
  2. Choose the "Outcome (column)" and tick the "Predictors". The "Number of filled data sets (5 to 100)" is set to 20.
  3. Click "Fill the gaps and calculate".

Reading the result: imputation

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.

Related

Open in Statable