Skip to main content

6. Phương pháp kiểm soát tổng hợp

Verified Environments & Platforms:Academic FreeResearcher ProInstitutional VIP

This practical how-to guide presents the theoretical foundations, structural mathematical equations, detailed breakdown of 2 specialized lessons, and multi-platform replication workflows for 6. Phương pháp kiểm soát tổng hợp from the textbook Causal Inference and Policy Impact Evaluation Econometrics, with direct cross-references to the authoritative source material at https://sachktl.tnsai.vn/vi/cserk22u1/c6/.

Causal Inference and Policy Impact E6. Phương pháp kiểm soát tổng hợpCausal Inference and Empirical Policy Impact Evaluation · 2 Detailed LessonsStata 18 MPR 4.xPython 3.11+TNSAI Ecosystem

1. Methodological Foundations, Mathematical Specification, and Identification​

Phương pháp kiểm soát tổng hợp Chào mừng các bạn sinh viên đến với chuỗi bài học chuyên sâu về một trong những phương pháp hiện đại và thú vị nhất trong kinh tế lượng ứng dụng: Phương pháp Kiểm soát Tổng hợp, hay còn gọi là Synthetic Control Method. Đã bao giờ bạn tự hỏi làm thế nào các nhà kinh tế có thể đo lường tác động của một sự kiện vĩ mô độc nhất, chẳng hạn như Brexit đối với nền kinh tế Anh, hay việc California ban hành luật kiểm soát thuốc lá?

1.1. Structural Equations and Representative Estimator​

τATT=E[Yi(1)−Yi(0)∣Di=1]=E[E[Yit−Yi,t−1∣Di=1]−E[Yit−Yi,t−1∣Di=0]][1]\tau_{\text{ATT}} = \mathbb{E}\left[Y_i(1) - Y_i(0) \mid D_i = 1\right] = \mathbb{E}\left[\mathbb{E}[Y_{it} - Y_{i,t-1} \mid D_i=1] - \mathbb{E}[Y_{it} - Y_{i,t-1} \mid D_i=0]\right] \tag*{[1]} Yit=αi+λt+∑k≠−1δk⋅I(t−Gi=k)+Xit′β+εit[2]Y_{it} = \alpha_i + \lambda_t + \sum_{k \neq -1} \delta_k \cdot \mathbb{I}(t - G_i = k) + \mathbf{X}_{it}'\boldsymbol{\beta} + \varepsilon_{it} \tag*{[2]}

1.2. Core Identification Assumptions and Applicability Conditions​

  1. Conditional parallel trends ensure the comparison group validly represents the counterfactual trajectory of treated units in the absence of intervention.
  2. No anticipation prior to treatment onset and common support overlap 0<P(Di=1∣Xi)<10 < P(D_i=1 \mid \mathbf{X}_i) < 1 are required for point identification of τATT\tau_{\text{ATT}}.
  3. The Stable Unit Treatment Value Assumption (SUTVA) rules out unmodeled spillover interference across treated and control units.
Methodological Scope Boundary:Conventional Two-Way Fixed Effects (TWFE) regressions suffer from negative weighting bias under staggered adoption and heterogeneous treatment effects; use Callaway-Sant'Anna or Sun-Abraham estimators instead.

2. Lesson-by-Lesson Academic Breakdown​

2.1. Nền tảng lý thuyết của phương pháp kiểm soát tổng hợp​

  1. Giới thiệu: Tại sao chúng ta cần một phương pháp mới? Chào mừng các bạn đã quay trở lại với chuỗi bài học về Phương pháp Kiểm soát Tổng hợp. Trong bài giới thiệu, chúng ta đã nói về thách thức khi đánh giá các chính sách chỉ tác động đến một đơn vị duy nhất. Hãy tưởng tượng bạn là một nhà kinh tế và được giao nhiệm vụ đánh giá tác động kinh tế của một trận động đất lớn lên một khu vực cụ thể. Bạn không thể dùng phương pháp so sánh thông thường, vì không có khu vực nào khác giống hệt khu vực bị ảnh hưởng để làm đối chứng.

Key Methodological Sub-Topics Covered in This Lesson:

  • 1. Giới thiệu: Tại sao chúng ta cần một phương pháp mới?

  • 2. Nền tảng lý thuyết: Xây dựng một "bản sao" hoàn hảo

  • Triết lý cốt lõi: Sức mạnh của sự kết hợp

  • Mô hình SCM: Tìm kiếm bộ trọng số tối ưu

  • Xây dựng đối chứng và giả định nhận dạng

  • 3. Suy luận thống kê: Kiểm định giả dược

  • Analytical Environments: Stata 18 MP, R 4.x, Python 3.11+ · Authoritative Source: Read Full Original Lesson on SachKTL

2.2. Hướng dẫn thực hành SCM và kiểm định giả dược với Stata​

  1. Giới thiệu: Từ lý thuyết đến thực hành Chào mừng các bạn đến với bài học thực hành của chuỗi bài về Phương pháp Kiểm soát Tổng hợp. Trong bài học trước, chúng ta đã cùng nhau tìm hiểu về logic, mô hình toán học và cách suy luận thống kê của SCM. Chúng ta đã biết cách SCM tạo ra một "bản sao tổng hợp" để ước lượng kịch bản phản thực tế và sử dụng kiểm định giả dược để đánh giá ý nghĩa thống kê.

Key Methodological Sub-Topics Covered in This Lesson:

  • 1. Giới thiệu: Từ lý thuyết đến thực hành

  • 2. Quy trình phân tích từng bước với Stata

  • 3. Tổng kết và kết luận

  • Analytical Environments: Stata 18 MP · Authoritative Source: Read Full Original Lesson on SachKTL

3. Step-by-Step Empirical Implementation Workflow​

1. Formulate the Research Question and Prepare Data on EcoData & Finco

Define the dependent variable, core explanatory variables, and control covariates aligned with 6. Phương pháp kiểm soát tổng hợp. Extract standardized Vietnamese empirical series from EcoData or Finco, and screen for missing observations and extreme outliers.

2. Conduct Descriptive Profiling, Correlation Analysis, and Pre-Estimation Checks

Examine empirical distributions, construct summary statistics tables, and evaluate collinearity using pairwise correlation matrices and Variance Inflation Factors (VIF).

3. Estimate the Model Across Stata 18 MP, R 4.x, and Python 3.11+

Execute the parameter estimation scripts matching the structural equations in Section 1.1 while cross-checking theoretical derivations at SachKTL.

4. Perform Post-Estimation Diagnostics and Robust Variance Correction

Test for heteroskedasticity, serial correlation, Ramsey RESET functional form misspecification, and regressor endogeneity. Apply White HC1 or cluster-robust standard errors for valid inference.

5. Format Journal-Grade Tables and Cross-Verify on EcoLab

Report point estimates, standard errors in parentheses, and statistical significance stars following APA 7th / AER Booktabs standards, or automate the entire reporting pipeline on EcoLab and VietLOD.

4. Multi-Platform Implementation Scripts in Stata, R, and Python​

* Ước lượng tác động nhân quả với DiD, Event Study và Propensity Score Matching
version 18.0
clear all
set more off
import delimited "sachktl_causal_ecodata.csv", clear encoding("utf-8")

* 1. Ước lượng Difference-in-Differences hai chiều và kiểm định xu hướng song song
xtset id year
xtdidregress (y x1 x2) (treated_post), group(id) time(year) vce(cluster id)
estat trendplots
estat ptrends

* 2. Ước lượng ghép cặp điểm xu hướng (PSM) và nghịch đảo xác suất trọng số (IPWRA)
teffects psmatch (y) (treat x1 x2 x3, probit), atet vce(iid)
teffects ipwra (y x1 x2) (treat x1 x2 x3, logit), atet

5. Post-Estimation Diagnostic and Interpretation Guide​

Diagnostic CriterionNull Hypothesis H0H_0Benchmark ThresholdCorrective Action When H0H_0 Is Rejected
HeteroskedasticityConstant error variance Var(εi)=σ2\text{Var}(\varepsilon_i) = \sigma^2p-value<0.05p\text{-value} < 0.05 rejects H0H_0Apply vce(robust), vcovHC(HC1), or FGLS/WLS weighted estimation
MulticollinearityNo severe linear dependence among regressorsVIF<10\text{VIF} < 10 acceptableDrop redundant covariates, center interactions, or apply LASSO/Ridge regularization
Ramsey RESET Functional FormNo omitted nonlinear or higher-order termsp-value>0.05p\text{-value} > 0.05 retains H0H_0Add interaction terms, quadratic polynomials, or log-transform skewed positive variables
Regressor ExogeneityOrthogonality Cov(X,ε)=0\text{Cov}(X, \varepsilon)=0Durbin-Wu-Hausman p>0.05p > 0.05Transition to IV/2SLS, LIML, or GMM estimation with validated instruments

6. Video Tutorial Walkthrough​

Video Tutorial: Practical Walkthrough for 6. Phương pháp kiểm soát tổng hợp on SachKTL
Lesson CodeLesson TitleSupported SoftwareOriginal Source Link on SachKTL
6.1Nền tảng lý thuyết của phương pháp kiểm soát tổng hợpStata 18 MP, R 4.x, Python 3.11+Open Original Lesson on SachKTL
6.2Hướng dẫn thực hành SCM và kiểm định giả dược với StataStata 18 MPOpen Original Lesson on SachKTL