Other packages > Find by keyword >

DIDmultiplegt  

Estimation in DID with Multiple Groups and Periods
View on CRAN: Click here


Download and install DIDmultiplegt package within the R console
Install from CRAN:
install.packages("DIDmultiplegt")

Install from Github:
library("remotes")
install_github("cran/DIDmultiplegt")

Install by package version:
library("remotes")
install_version("DIDmultiplegt", "0.1.3")



Attach the package and use:
library("DIDmultiplegt")
Maintained by
Diego Ciccia
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-10-26
Latest Update: 2024-02-29
Description:
Estimate the effect of a treatment on an outcome in sharp Difference-in-Difference designs with multiple groups and periods. It computes the DIDM estimator introduced in Section 4 of "Two-Way Fixed Effects Estimators with Heterogeneous Treatment Effects" (Chaisemartin, D'Haultfoeuille (2020) ), which generalizes the standard DID estimator with two groups, two periods and a binary treatment to situations with many groups,many periods and a potentially non-binary treatment. For each pair of consecutive time periods t-1 and t and for each value of the treatment d, the package computes a DID estimator comparing the outcome evolution among the switchers, the groups whose treatment changes from d to some other value between t-1 and t, to the same evolution among control groups whose treatment is equal to d both in t-1 and t. Then the DIDM estimator is equal to the average of those DIDs across all pairs of consecutive time periods and across all values of the treatment. Under a parallel trends assumption, DIDM is an unbiased and consistent estimator of the average treatment effect among switchers, at the time period when they switch. The package can also compute placebo estimators that can be used to test the parallel trends assumption. Finally, in staggered adoption designs where each group's treatment is weakly increasing over time, it can compute estimators of switchers' dynamic treatment effects, one time period or more after they have started receiving the treatment.
How to cite:
Diego Ciccia (2020). DIDmultiplegt: Estimation in DID with Multiple Groups and Periods. R package version 0.1.3, https://cran.r-project.org/web/packages/DIDmultiplegt
Previous versions and publish date:
0.1.0 (2020-10-26 10:50), 0.1.2 (2024-02-03 15:00)
Other packages that cited DIDmultiplegt R package
View DIDmultiplegt citation profile
Other R packages that DIDmultiplegt depends, imports, suggests or enhances
Functions, R codes and Examples using the DIDmultiplegt R package
Some associated functions: did_multiplegt . 
Some associated R codes: did_multiplegt.R .  Full DIDmultiplegt package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

cdcfluview  
Retrieve Flu Season Data from the United States Centers for Disease Control and Prevention ("CDC") "FluView" Portal
The 'U.S.' Centers for Disease Control and Prevention (CDC) maintain a portal ...
Download / Learn more Package Citations See dependency  
factorplot  
Graphical Presentation of Simple Contrasts
Methods to calculate, print, summarize and plot pairwise differences from GLMs, GLHT or Multinomial ...
Download / Learn more Package Citations See dependency  
srm  
Structural Equation Modeling for the Social Relations Model
Provides functionality for structural equation modeling for the social relations model (Kenny & ...
Download / Learn more Package Citations See dependency  
FMCCSD  
Efficient Estimation of Clustered Current Status Data
Current status data abounds in the field of epidemiology and public health, where the only observab ...
Download / Learn more Package Citations See dependency  
bizicount  
Bivariate Zero-Inflated Count Models Using Copulas
Maximum likelihood estimation of copula-based zero-inflated (and non-inflated) Poisson and negative ...
Download / Learn more Package Citations See dependency  
QuantileNPCI  
Nonparametric Confidence Intervals for Quantiles
Based on Alan D. Hutson (1999) , "Calculating nonparametric confidence i ...
Download / Learn more Package Citations See dependency  
Maintainer: Li Yan (view profile)

22,114

R Packages

188,080

Dependencies

55,244

Author Associations

22,115

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns