1 Star 2 Fork 7

连享会/did using R

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
DESCRIPTION 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
Pedro H. C. Sant'Anna 提交于 2020-07-22 22:26 . Update
Package: did
Title: Treatment Effects with Multiple Periods and Groups
Version: 2.0.0
Authors@R: c(person("Brantly", "Callaway", email = "bmcallaw@olemiss.edu", role = c("aut", "cre")), person("Pedro H.C.", "Sant\'Anna", email="pedro.h.santanna@vanderbilt.edu", role = c("aut")))
Description: The standard Difference-in-Differences (DID) setup involves two periods and two groups -- a treated group and untreated group. Many applications of DID methods involve more than two periods and have individuals that are treated at different points in time. This package contains tools for computing average treatment effect parameters in Difference in Differences models with more than two periods and with variation in treatment timing using the methods developed in Callaway and Sant'Anna (2019) <https://ssrn.com/abstract=3148250>. The main parameters are group-time average treatment effects which are the average treatment effect for a particular group at a a particular time. These can be aggregated into a fewer number of treatment effect parameters, and the package deals with the cases where there is selective treatment timing, dynamic treatment effects, calendar time effects, or combinations of these. There are also functions for testing the Difference in Differences assumption, and plotting group-time average treatment effects.
Depends: R (>= 3.5)
License: GPL-2
Encoding: UTF-8
LazyData: true
Imports:
BMisc (>= 1.4.1),
MASS,
pbapply,
stats,
ggplot2,
gridExtra,
knitr,
utils,
ggpubr,
plm,
DRDID
RoxygenNote: 7.1.1
VignetteBuilder: knitr
Suggests:
rmarkdown,
testthat (>= 2.1.0)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arlionn/did_R.git
git@gitee.com:arlionn/did_R.git
arlionn
did_R
did using R
master

搜索帮助