5. Phân tích tổng hợp cho dữ liệu liên tục
This practical how-to guide presents the theoretical foundations, structural mathematical equations, detailed breakdown of 4 specialized lessons, and multi-platform replication workflows for 5. Phân tích tổng hợp cho dữ liệu liên tục from the textbook Meta-Analysis in Stata: An Updated Framework, with direct cross-references to the authoritative source material at https://sachktl.tnsai.vn/vi/cshek21u1/c5/.
1. Methodological Foundations, Mathematical Specification, and Identification
Giới thiệu phân tích tổng hợp cho dữ liệu liên tục An Introduction to Meta-Analysis for Continuous data Giới thiệu tổng quan về chuỗi bài học Chào mừng các bạn đến với chuỗi bài học mới, nơi chúng ta sẽ đi sâu vào một trong những ứng dụng phổ biến và quan trọng nhất của phân tích tổng hợp: xử lý dữ liệu liên tục. Trong các nghiên cứu kinh tế, y tế, và khoa học xã hội, các biến kết quả thường được đo lường trên một thang đo liên tục, chẳng hạn như thu nhập, huyết áp, điểm số kiểm tra, hoặc thời gian phản ứng.
1.1. Structural Equations and Representative Estimator
1.2. Core Identification Assumptions and Applicability Conditions
- Correct functional form specification in parameters without omitting relevant covariates correlated with included regressors.
- Zero conditional mean of disturbances , ensuring unbiasedness and asymptotic consistency.
- Full column rank of the design matrix without exact multicollinearity, paired with HC1 or cluster-robust standard errors under heteroskedasticity.
Read the complete theoretical derivations, mathematical proofs, and worked examples for this chapter on SachKTL.
Extract standardized Vietnamese macroeconomic, corporate financial, and household survey data for hands-on replication.
Execute econometric specifications, run diagnostic battery tests, and export APA 7th / AER publication-grade tables automatically.
2. Lesson-by-Lesson Academic Breakdown
2.1. Lý thuyết về kích thước hiệu ứng cho dữ liệu liên tục
Lý thuyết về kích thước hiệu ứng cho dữ liệu liên tục Theoretical foundations of effect sizes for continuous data Đo lường hiệu ứng với dữ liệu liên tục Chào mừng các bạn đến với bài học đầu tiên trong chuỗi bài về phân tích tổng hợp cho dữ liệu liên tục. Khi làm việc với các biến kết quả liên tục như thu nhập, điểm số, hay thời gian, câu hỏi trung tâm thường là: "Sự khác biệt trung bình giữa nhóm can thiệp và nhóm đối chứng là bao nhiêu?".
Key Methodological Sub-Topics Covered in This Lesson:
-
Đo lường hiệu ứng với dữ liệu liên tục
-
Phương ph áp 1: Chênh lệch trung bình
-
Khi nào sử dụng MD?
-
Công thức ước tính MD và phương sai của nó
-
Phương pháp 2: Chênh lệch trung bình chuẩn hóa
-
Khi nào sử dụng SMD?
-
Analytical Environments:
Stata 18 MP, R 4.x, Python 3.11+· Authoritative Source: Read Full Original Lesson on SachKTL
2.2. Thực hành phân tích SMD với dữ liệu "Impact of Intervention"
Thực hành phân tích SMD với dữ liệu "Impact of Intervention" A practical guide to SMD meta-analysis with the "Impact of Intervention" data Từ công thức đến kết quả thực tế Trong bài học lý thuyết trước, chúng ta đã cùng nhau mổ xẻ các công thức toán học đằng sau Chênh lệch trung bình chuẩn hóa , đặc biệt là g của Hedges. Bây giờ là lúc để biến những công thức đó thành những con số biết nói. Bài thực hành này sẽ là một trải nghiệm học tập độc đáo, nơi chúng ta không chỉ chạy một lệnh duy nhất để có kết quả cuối cùng.
Key Methodological Sub-Topics Covered in This Lesson:
-
Từ công thức đến kết quả thực tế
-
Chuẩn bị dữ liệu "Impact of Intervention"
-
Quy trình phân tích SMD từng bước trong Stata
-
Thực hành chi tiết với Stata
-
Bước 1: Tính toán g của Hedges và phương sai
-
Bước 2 & 3: Phân tích tổng hợp "thủ công"
-
Analytical Environments:
Stata 18 MP· Authoritative Source: Read Full Original Lesson on SachKTL
2.3. Thực hành phân tích MD với dữ liệu "PCNL"
Thực hành phân tích MD với dữ liệu "PCNL" A practical guide to MD meta-analysis with the "PCNL" data Phân tích đa kết quả trong một case study Chào mừng các bạn đến với bài thực hành cuối cùng của chuỗi bài học về phân tích tổng hợp cho dữ liệu liên tục. Sau khi đã thành thạo việc tính toán và phân tích Chênh lệch trung bình chuẩn hóa, bây giờ chúng ta sẽ quay trở lại với Chênh lệch trung bình . Mặc dù đơn giản hơn về mặt công thức, MD lại cực kỳ mạnh mẽ và trực quan khi các nghiên cứu sử dụng cùng một thang đo.
Key Methodological Sub-Topics Covered in This Lesson:
-
Phân tích đa kết quả trong một case study
-
Chuẩn bị và khám phá dữ liệu PCNL
-
Quy trình phân tích cho từng biến kết quả
-
Thực hành chi tiết với Stata
-
Phân tích Kết quả 1: Thời gian phẫu thuật
-
Phân tích Kết quả 2: Thời gian nằm viện
-
Analytical Environments:
Stata 18 MP· Authoritative Source: Read Full Original Lesson on SachKTL
2.4. Lựa chọn kích thước hiệu ứng và ứng dụng
Tổng hợp phân tích tổng hợp cho dữ liệu liên tục: Lựa chọn kích thước hiệu ứng và ứng dụng Synthesizing meta-analysis for continuous data: Effect size selection and applications Hoàn thiện bộ công cụ phân tích Xin chúc mừng các bạn đã hoàn thành chuỗi bài học chuyên sâu về phân tích tổng hợp cho dữ liệu liên tục!
Key Methodological Sub-Topics Covered in This Lesson:
-
Hoàn thiện bộ công cụ phân tích
-
MD và SMD - Hai mặt của một đồng xu
-
Chênh lệch trung bình : Sức mạnh của sự đơn giản và trực quan
-
Chênh lệch trung bình chuẩn hóa : Sức mạnh của sự linh hoạt và tổng quát
-
Quy trình lựa chọn giữa MD và SMD: Một cây quyết định
-
Tóm tắt và định hướng phát triể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 5. Phân tích tổng hợp cho dữ liệu liên tục. 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.
4. Multi-Platform Implementation Scripts in Stata, R, and Python
- Stata 18 MP
- R 4.x
- Python 3.11+
* Thiết lập môi trường, ước lượng mô hình và kiểm định chẩn đoán toàn diện
version 18.0
clear all
set more off
import delimited "sachktl_empirical_ecodata.csv", clear encoding("utf-8")
describe
summarize y x1 x2 x3, detail
* 1. Ước lượng mô hình cơ sở và kiểm định phương sai thay đổi / đa cộng tuyến / dạng hàm
regress y x1 x2 x3
estat hettest
estat imtest, white
estat vif
estat ovtest
* 2. Ước lượng với sai số chuẩn vững White HC1 và xuất tác động biên
regress y c.x1##c.x2 x3, vce(robust)
margins, dydx(x1 x2 x3)
# Nạp thư viện phân tích kinh tế lượng và thực thi kiểm định chẩn đoán
library(tidyverse)
library(lmtest)
library(sandwich)
library(car)
df <- read.csv("sachktl_empirical_ecodata.csv")
summary(df)
# 1. Ước lượng mô hình tuyến tính và kiểm định Breusch-Pagan, RESET, VIF
fit <- lm(y ~ x1 + x2 + x3, data = df)
bptest(fit)
resettest(fit, power = 2:3, type = "fitted")
vif(fit)
# 2. Xuất bảng hệ số ước lượng với sai số chuẩn vững HC1
coeftest(fit, vcov = vcovHC(fit, type = "HC1"))
# Nạp thư viện statsmodels và thực thi ước lượng kèm chẩn đoán phần dư
import pandas as pd
import statsmodels.api as sm
import statsmodels.formula.api as smf
from statsmodels.stats.diagnostic import het_breuschpagan, linear_reset
from statsmodels.stats.outliers_influence import variance_inflation_factor
df = pd.read_csv("sachktl_empirical_ecodata.csv")
# 1. Ước lượng mô hình với sai số chuẩn vững HC1
model = smf.ols("y ~ x1 + x2 + x3", data=df).fit(cov_type="HC1")
print(model.summary())
# 2. Kiểm định phương sai thay đổi Breusch-Pagan, Ramsey RESET và hệ số VIF
bp_lm, bp_pval, _, _ = het_breuschpagan(model.resid, model.model.exog)
reset_res = linear_reset(model, power=2, use_f=True)
X = sm.add_constant(df[["x1", "x2", "x3"]].dropna())
vifs = {col: variance_inflation_factor(X.values, i) for i, col in enumerate(X.columns)}
print(f"Breusch-Pagan p={bp_pval:.4f} | RESET p={reset_res.pvalue:.4f} | VIF={vifs}")
5. Post-Estimation Diagnostic and Interpretation Guide
| Diagnostic Criterion | Null Hypothesis | Benchmark Threshold | Corrective Action When Is Rejected |
|---|---|---|---|
| Heteroskedasticity | Constant error variance | rejects | Apply vce(robust), vcovHC(HC1), or FGLS/WLS weighted estimation |
| Multicollinearity | No severe linear dependence among regressors | acceptable | Drop redundant covariates, center interactions, or apply LASSO/Ridge regularization |
| Ramsey RESET Functional Form | No omitted nonlinear or higher-order terms | retains | Add interaction terms, quadratic polynomials, or log-transform skewed positive variables |
| Regressor Exogeneity | Orthogonality | Durbin-Wu-Hausman | Transition to IV/2SLS, LIML, or GMM estimation with validated instruments |
6. Video Tutorial Walkthrough
Video Tutorial: Practical Walkthrough for 5. Phân tích tổng hợp cho dữ liệu liên tục on SachKTL
7. Complete Lesson Directory and Backlinks to Original SachKTL Articles
| Lesson Code | Lesson Title | Supported Software | Original Source Link on SachKTL |
|---|---|---|---|
| 5.1 | Lý thuyết về kích thước hiệu ứng cho dữ liệu liên tục | Stata 18 MP, R 4.x, Python 3.11+ | Open Original Lesson on SachKTL |
| 5.2 | Thực hành phân tích SMD với dữ liệu "Impact of Intervention" | Stata 18 MP | Open Original Lesson on SachKTL |
| 5.3 | Thực hành phân tích MD với dữ liệu "PCNL" | Stata 18 MP | Open Original Lesson on SachKTL |
| 5.4 | Lựa chọn kích thước hiệu ứng và ứng dụng | Stata 18 MP | Open Original Lesson on SachKTL |