9.1. Propensity Matching and Covariate Balancing
Methodological Part 9.1. Propensity Matching and Covariate Balancing in 9. Causal Inference and Modern Policy Evaluation provides step-by-step How-To implementation guides for 4 econometric model lessons spanning from Section 9.1.1 to 9.1.4. Full theoretical derivations are available at VietLOD Part 9.1 alongside cloud execution on EcoLab.
Video Tutorial: How-To Guide for Part 9.1: Propensity Matching and Covariate Balancing in Stata 18, R 4.x, and Python 3.11+
9.1.1. Methodological Overview and Structural Equations
- Methodological Focus: Provides consistent estimation and robust inference for Propensity Matching and Covariate Balancing specifications within Causal Inference and Modern Policy Evaluation.
- Mandatory Post-Estimation Diagnostics: Kiểm tra miền giao thoa chung, chênh lệch chuẩn hóa trung bình các biến đồng biến sau ghép cặp, tỷ số phương sai và phân tích độ nhạy Rosenbaum Bounds.
Core structural specification for Part 9.1:
Estimator objective and moment conditions:
9.1.2. Econometric Model Lessons in Part 9.1
Estimates the Propensity Score Matching — PSM specification within the Propensity Matching and Covariate Balancing framework by optimizing t...
Estimates the Hainmueller Entropy Balancing specification within the Propensity Matching and Covariate Balancing framework by optimizing the...
9.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 |
|---|---|---|---|---|---|
| 9.1.1 · Propensity Score Matching — PSM | propensity_score_matching | teffects psmatch (y) (treat x1 x2), atet | MatchIt::matchit(treat ~ x1 + x2, data = df, method = 'nearest') | smf.logit('treat ~ x1 + x2', data=df).fit() | Available |
| 9.1.2 · Hainmueller Entropy Balancing | entropy_balancing | ebalance treat x1 x2 -> regress y treat [pweight = _webal] | ebal::ebalance(Treatment = df$treat, X = as.matrix(df[, c('x1', 'x2')])) | smf.wls('y ~ treat + x1 + x2', data=df, weights=w_ebal).fit(cov_type='HC1') | Available |
| 9.1.3 · Generalized Propensity Score Continuous Treatment Dose Response Hirano Imbens | generalized_propensity_score_gps | doseresponse / regress y c.treat##c._gps x1, vce(robust) | CausalGPS::generate_pseudo_pop / hi_estimate | Conditional density GPS r(T,X) + polynomial dose-response surface | Available |
| 9.1.4 · Rosenbaum Sensitivity Bounds for Hidden Unobserved Confounding | rosenbaum_sensitivity_bounds | rbounds delta, gamma(1(0.25)2) | rbounds::psens / rbounds::hlsens | Treatment effect + Rosenbaum Gamma = {1.0, 1.25, 1.5, 2.0} upper p-bounds | Available |
9.1.4. Standard Implementation Workflow for Part 9.1
Step 1. Load Standardized Practice Datasets From VietLOD, EcoData, or Finco
Download the model-specific .csv practice dataset in Part 9.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 9.1.1 to 9.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 tra miền giao thoa chung, chênh lệch chuẩn hóa trung bình các biến đồng biến sau ghép cặp, tỷ số phương sai và phân tích độ nhạy Rosenbaum Bounds and dispatch the specification to EcoLab for automated journal-grade reporting.