13.1. Inequality Decomposition and Distributional Regression
Methodological Part 13.1. Inequality Decomposition and Distributional Regression in 13. Income Distribution and Inequality Decomposition provides step-by-step How-To implementation guides for 4 econometric model lessons spanning from Section 13.1.1 to 13.1.4. Full theoretical derivations are available at VietLOD Part 13.1 alongside cloud execution on EcoLab.
Video Tutorial: How-To Guide for Part 13.1: Inequality Decomposition and Distributional Regression in Stata 18, R 4.x, and Python 3.11+
13.1.1. Methodological Overview and Structural Equations
- Methodological Focus: Provides consistent estimation and robust inference for Inequality Decomposition and Distributional Regression specifications within Income Distribution and Inequality Decomposition.
- Mandatory Post-Estimation Diagnostics: Kiểm định Wald ý nghĩa của Total Gap, Explained, Unexplained và Interaction; đóng góp chi tiết từng biến kèm SE chuẩn hóa Yun (2005)..
Core structural specification for Part 13.1:
Estimator objective and moment conditions:
13.1.2. Econometric Model Lessons in Part 13.1
Decomposes the mean outcome differential E[Y_A] - E[Y_B] between two groups into Endowments — explained composition , Coefficients — unexpla...
Estimates marginal effects of covariate shifts on unconditional population quantiles Q_tau — tau in [0.10, 0.50, 0.90] , interdecile Q90-Q10...
Combines DiNardo-Fortin-Lemieux counterfactual propensity reweighting with RIF regressions at quantiles Q_tau or Gini to separate Pure Compo...
13.1.3. Comparative Execution Syntax Across Stata 18, R 4.x, and Python 3.11+
| Section & Model Title | Estimator Key | Stata 18 MP Syntax | R 4.x Syntax | Python 3.11+ Syntax | Support |
|---|---|---|---|---|---|
| 13.1.1 · Blinder-Oaxaca Twofold and Threefold Decomposition | oaxaca_blinder | oaxaca y x1 x2, by(group) pooled vce(robust) | oaxaca::oaxaca(y ~ x1 + x2 | group, data = df, R = 200) | sm.stats.OaxacaBlinder(df['y'], df[['x1', 'x2']], df['group']).two_fold() | Available |
| 13.1.2 · Recentered Influence Function Unconditional Quantile and Gini Regression | rif_regression | rifhdreg y x1 x2, rif(q(50)) vce(robust) | rifreg::rifreg(y ~ x1 + x2, data = df, statistic = 'quantiles', probs = 0.5) | smf.ols('rif_y_q50 ~ x1 + x2', data=df).fit(cov_type='HC1') | Available |
| 13.1.3 · IPW-Reweighted RIF-Oaxaca Distributional Decomposition | oaxaca_rif_decomposition | oaxaca_rif y x1 x2, rif(q(90)) by(group) rwlogit(x1 x2) | oaxaca::oaxaca(rif_y ~ x1 + x2 | group, data = df, R = 200) | sm.stats.OaxacaBlinder(df['rif_y'], df[['x1', 'x2']], df['group']).two_fold() | Available |
| 13.1.4 · Chernozhukov Fernandez Val Melly Counterfactual Distribution Process | chernozhukov_counterfactual_dist | cdeco y x1 x2, group(grp) / regress y x1 x2, vce(robust) | Counterfactual::cdeco(y ~ x1 + x2, group = grp) | Chernozhukov-Fernandez-Val-Melly (2013) threshold distribution + quantile process decomposition | Available |
13.1.4. Standard Implementation Workflow for Part 13.1
Step 1. Load Standardized Practice Datasets From VietLOD, EcoData, or Finco
Download the model-specific .csv practice dataset in Part 13.1 or extract custom empirical panels from EcoData and Finco.
Step 2. Select the Optimal Estimator for Your Error and Sample Structure
Compare the estimators from 13.1.1 to 13.1.4 in the syntax matrix above and execute the estimation in Stata 18 MP, R 4.x, or Python 3.11+.
Step 3. Run Mandatory Diagnostics and Export Publication Tables on EcoLab
Verify all required diagnostics including Kiểm định Wald ý nghĩa của Total Gap, Explained, Unexplained và Interaction; đóng góp chi tiết từng biến kèm SE chuẩn hóa Yun (2005). and dispatch the specification to EcoLab for automated journal-grade reporting.