EM by the Method of Weights for GLMs with Missing Categorical Covariates
The method of weights is an EM algorithm for generalised linear models in which some discrete covariates are missing. Each incomplete row is replaced by one copy for every possible value of its missing covariates, weighted by how likely that value is given the outcome and the observed covariates; a weighted model fit and updated covariate proportions are repeated until convergence.
가중치 방법은 일부 이산형 공변량이 결측인 일반화선형모형을 위한 EM 알고리즘입니다. 불완전한 행을 결측 공변량이 가질 수 있는 값마다 하나씩 복제하고, 결과와 관측된 공변량에 비추어 그 값이 나올 확률로 가중한 뒤, 가중 모형 적합과 공변량 비율 갱신을 수렴할 때까지 반복합니다.
How do I fit a logistic or Poisson regression by maximum likelihood when a categorical predictor is missing for some participants?
일부 참가자의 범주형 설명변수가 빠졌을 때 로지스틱이나 포아송 회귀를 최대우도로 어떻게 적합합니까?
The method returns maximum-likelihood regression coefficients that use every row, with standard errors from the observed-data information (Louis's formula), Wald tests and intervals, the estimated distribution of the missing covariates and the complete-case fit for comparison.
When to use EM by the Method of Weights for GLMs with Missing Categorical Covariates
- Some categorical or few-valued covariates are missing at random in a linear, logistic or Poisson regression.
- You prefer a single maximum-likelihood fit to multiple imputation.
When to use something else
- The incomplete covariates are continuous: use Full Information Maximum Likelihood (FIML) Estimation
- Missingness may depend on the missing values themselves: use Delta-Adjusted Tipping-Point Sensitivity Analysis
Assumptions and requirements
- Missing at random given the outcome and observed covariates
- Incomplete covariates are discrete and follow a saturated multinomial within strata of the complete categorical covariates
- Continuous complete covariates do not shift the distribution of the incomplete ones
- The GLM uses the canonical link
What the analysis reports
- Coefficients with Louis standard errors, z tests and confidence intervals
- Complete-case coefficients and standard errors
- Estimated probabilities of the missing covariate patterns
- Log-likelihood and number of EM iterations
How to report it
Fitted by EM by the method of weights on all [value] observations, the coefficient of [covariate] was b = [value] (SE = [value], 95% CI [value], [value]).
Related methods
- Full Information Maximum Likelihood (FIML) Estimation
- Multiple Imputation (MICE) with Pooled Regression
- Binary Logistic Regression
- Inverse Probability Weighting for Missing Data
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy at a stated tolerance of 1e-4.
독립 계산. SciPy 대조 참조 시험 2건 통과(허용오차 1e-4).
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 EM by the Method of Weights for GLMs with Missing Categorical Covariates on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.