1 Star 0 Fork 12

ChenKaiBin / dif-in-difs-with-fixed-effects-in-stata

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dif-in-difs-with-fixed-effects-in-stata.lyx~ 2.28 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Nicholas Poggioli 提交于 2017-05-22 23:51 . Create code
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 12
\spacing single
\use_hyperref false
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style kluwer
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Standard
The two-period difference-in-differences regression model with fixed effects
is:
\end_layout
\begin_layout Standard
\begin_inset Formula
\[
Y_{t}=\beta_{0}+\beta_{1}I_{t=t^{0}}+\beta_{2}D+\delta D\times I_{t=t^{0}}+\varepsilon_{t}
\]
\end_inset
and the difference-in-differences estimator is
\end_layout
\begin_layout Standard
\begin_inset Formula
\[
\hat{\Delta}^{DID}=(\bar{Y}_{1,D=1,t^{0}}-\bar{Y}_{0,D=1,t^{0}-1})-(\bar{Y}_{0,D=1,t^{0}}-\bar{Y}_{0,D=0,t^{0}-1})=\hat{\delta}
\]
\end_inset
Two-period DID assumes the treatment effect is the same across all units,
such that
\end_layout
\begin_layout Standard
\begin_inset Formula
\[
\Delta^{ATE}=\Delta^{ATET}=\Delta^{ATEN}=\delta
\]
\end_inset
\end_layout
\begin_layout Standard
\end_layout
\end_body
\end_document
1
https://gitee.com/chenkaibin/dif-in-difs-with-fixed-effects-in-stata.git
git@gitee.com:chenkaibin/dif-in-difs-with-fixed-effects-in-stata.git
chenkaibin
dif-in-difs-with-fixed-effects-in-stata
dif-in-difs-with-fixed-effects-in-stata
master

搜索帮助

14c37bed 8189591 565d56ea 8189591