Trung QuốcIanHo2019/DID_Handbook
This repository summarizes the traditional and recently proposed estimators in the difference-in-differences research design.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#3 Repository của tuần
📘 DID Handbook: Tổng hợp ước lượng Difference-in-Differences
Một kho tài nguyên tham khảo toàn diện về các phương pháp DID từ cơ bản đến nâng cao, kèm mã Stata thực hành.
Dự án DID_Handbook do Ian Ho xây dựng, tập trung tóm tắt các ước lượng truyền thống và gần đây trong thiết kế difference-in-differences (DID) — một kỹ thuật thống kê phổ biến trong nghiên cứu khoa học xã hội. Mục tiêu là chia sẻ hiểu biết sâu hơn về DID và cách triển khai bằng ngôn ngữ lập trình Stata.
✨ Điểm nổi bật
- Bảng so sánh ước lượng: Tóm tắt các phương pháp như Classical TWFE, SDID, Interaction Weighted, Doubly Robust, Imputation, Extended TWFE, LP-DID...
- Điều kiện hợp lệ: Liệt kê rõ các giả định cần thiết (Parallel Trends, No Anticipation, Effect Homogeneity, v.v.)
- Mã nguồn mở: Cung cấp đoạn lệnh Stata thực hành để chạy các mô hình DID.
- Tài liệu tham khảo: Nêu rõ nguồn gốc của từng ước lượng (Arkhangelsky et al., Sun & Abraham, Callaway & Sant'Anna, vv.).
- Tập trung vào ATT: Nhấn mạnh việc ước lượng tác động trung bình lên nhóm được điều trị (ATT).
- Mã nguồn Stata: Hỗ trợ cách sử dụng lệnh
xtreg,areg,reghdfe,xtdidregress. - Hỗ trợ thảo luận: Kêu gợi ý cải tiến mã nguồn hoặc sửa lỗi qua email.
💡 Vì sao đáng chú ý
Dự án không chỉ trình bày lý thuyết mà còn cung cấp công cụ thực hành bằng Stata, rất hữu ích cho nghiên cứu sinh và nhà kinh tế lượng người mới bắt đầu. Đặc biệt, bảng so sánh các ước lượng giúp người dùng chọn phương pháp phù hợp với từng tình huống thực nghiệm.
#DID #Econometrics #Stata #DifferenceInDifferences #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Difference-in-Differences causal inference in Python. Callaway-Sant'Anna, Synthetic DiD, Honest DiD, event studies. sklearn-like API, validated against R.
Implementing Local Projections Difference-in-Differences (LP-DiD) estimators
Lightning ⚡️ fast forecasting with statistical and econometric models.
ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research project aimed at applying Artificial Intelligence concepts to economic decision making. One of its goals is to build a toolkit that combines state-of-the-art machine learning techniques with econometrics in order to bring automation to complex causal inference problems. To date, the ALICE Python SDK (econml) implements orthogonal machine learning algorithms such as the double machine learning work of Chernozhukov et al. This toolkit is designed to measure the causal effect of some treatment variable(s) t on an outcome variable y, controlling for a set of features x.
Causal Inference for the Brave and True. A light-hearted yet rigorous approach to learning about impact estimation and causality.
mmBERT: A Modern Multilingual Encoder !License: MIT(https://img.shields.io/badge/License-MIT-yellow.svg)(https://opensource.org/licenses/MIT) !Paper(https://img.shields.io/badge/Paper-Arxiv-red)(https://arxiv.org/abs/2509.06888) !Model(https://img.s...
A ready-to-fork Claude Code template for academic research — papers, data analysis (R, Stata, Python), slides and teaching — with multi-agent review, enforced quality gates and replication protocols. Codex and Antigravity can use it too.