Sequential Imputation for Categorical Data (Kong-Liu-Wong)
The method computes the Bayesian posterior of category proportions for several categorical variables with missing values without running a Markov chain. Each imputation fills in the data row by row, drawing the missing part of each row from its posterior predictive distribution given the rows already completed, and is weighted by how probable the observed part of each row was under that predictive. The weighted imputations together form the posterior as a weighted mixture of Dirichlet distributions under a saturated multinomial model, giving posterior means, standard deviations and credible intervals, the effective sample size of the weights and an estimate of the marginal likelihood.
결측값이 있는 여러 범주형 변수의 범주 비율에 대한 베이즈 사후분포를 마르코프 연쇄 없이 계산합니다. 각 대체는 자료를 한 행씩 채우는데, 이미 채운 행들을 조건으로 한 사후예측분포에서 각 행의 결측 부분을 뽑고, 그 예측분포 아래에서 각 행의 관측 부분이 나올 확률로 가중치를 줍니다. 가중된 대체들이 모여 포화 다항모형 아래 디리클레 분포의 가중 혼합으로 사후분포를 이루며, 사후평균, 표준편차, 신용구간, 가중치의 유효표본크기, 주변우도 추정값을 줍니다.
What are the proportions of each category of my survey items when some answers are missing, with Bayesian uncertainty that accounts for the missing values?
일부 응답이 빠져 있을 때 내 설문 문항의 각 범주 비율은 얼마이며, 결측을 반영한 베이즈 불확실성은 어느 정도입니까?
The method returns posterior means, standard deviations and credible intervals for every item category (and for the cells of small tables), complete-case and available-case proportions for comparison, the effective sample size of the importance weights and the log marginal likelihood.
When to use Sequential Imputation for Categorical Data (Kong-Liu-Wong)
- Several categorical variables have missing values and you want their joint or marginal distribution.
- You want a Bayesian answer without iterative MCMC and with a marginal likelihood.
- Missingness can be assumed to depend only on observed values.
When to use something else
- You want imputed data sets for a regression model with continuous variables: use Multiple Imputation (MICE) with Pooled Regression
- You prefer data augmentation with Rubin's rules for the same model: use Dirichlet-Multinomial Bayesian Imputation of Categorical Data
- You need to test whether the data are missing completely at random: use Little's MCAR Test
Assumptions and requirements
- Missing at random (ignorable missingness)
- A saturated multinomial model with a Dirichlet prior for the cross-classification
- Enough imputations for a stable effective sample size
What the analysis reports
- Posterior means, SDs and credible intervals per category
- Complete-case and available-case proportions
- Effective sample size of the weights
- Log marginal likelihood
How to report it
Sequential imputation with [value] weighted imputations (effective sample size [value]) gave a posterior mean proportion of [value] for [category], 95% credible interval [[value], [value]].
Related methods
- Dirichlet-Multinomial Bayesian Imputation of Categorical Data
- Multiple Imputation (MICE) with Pooled Regression
- Little's MCAR Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Sequential Imputation for Categorical Data (Kong-Liu-Wong) on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items)
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.