RepositoryStataCNTrung Quốc
IanHo2019

IanHo2019/DID_Handbook

This repository summarizes the traditional and recently proposed estimators in the difference-in-differences research design.

126sao
42fork
2issue
4lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: did

#1 Repository của tuần

3
TINIX TRENDING·Chủ đề: econometrics

#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.

RepositoryPython
igerber/diff-diff

Difference-in-Differences causal inference in Python. Callaway-Sant'Anna, Synthetic DiD, Honest DiD, event studies. sklearn-like API, validated against R.

417
Dec 1, 2026
RepositoryStata
omercadopopular/cgoes

Research by Carlos Góes

156
Dec 11, 2025
RepositoryStata
danielegirardi/lpdid

Implementing Local Projections Difference-in-Differences (LP-DiD) estimators

89
Sep 22, 2026
RepositoryPython
statsmodels/statsmodels

Statsmodels: statistical modeling and econometrics in Python

11.8k
Nov 30, 2026
RepositoryPython
Nixtla/statsforecast

Lightning ⚡️ fast forecasting with statistical and econometric models.

5.0k
Nov 23, 2026
RepositoryJupyter Notebook
py-why/EconML

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.

4.9k
Nov 23, 2026
RepositoryJupyter Notebook
matheusfacure/python-causality-handbook

Causal Inference for the Brave and True. A light-hearted yet rigorous approach to learning about impact estimation and causality.

3.5k
Oct 6, 2026
Modelfill-mask
jhu-clsp/mmBERT-base

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...

♥0
348.1k
Oct 7, 2025
RepositoryHTML
pedrohcgs/claude-code-my-workflow

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.

1.8k
Nov 7, 2026