Other packages > Find by keyword >

did2s  

Two-Stage Difference-in-Differences Following Gardner (2021)
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("did2s", "1.0.2")



Attach the package and use:
library("did2s")
Maintained by
Kyle Butts
[Scholar Profile | Author Map]
First Published: 2021-09-27
Latest Update: 2023-04-07
Description:
Estimates Two-way Fixed Effects difference-in-differences/event-study models using the approach proposed by Gardner (2021) . To avoid the problems caused by OLS estimation of the Two-way Fixed Effects model, this function first estimates the fixed effects and covariates using untreated observations and then in a second stage, estimates the treatment effects.
How to cite:
Kyle Butts (2021). did2s: Two-Stage Difference-in-Differences Following Gardner (2021). R package version 1.0.2, https://cran.r-project.org/web/packages/did2s. Accessed 07 May. 2025.
Previous versions and publish date:
0.4.0 (2021-09-27 10:50), 0.6.0 (2022-04-07 21:42), 0.7.0 (2022-07-21 11:40), 1.0.0 (2023-03-11 17:10), 1.0.1 (2023-03-28 02:30)
Other packages that cited did2s R package
View did2s citation profile
Other R packages that did2s depends, imports, suggests or enhances
Complete documentation for did2s
Functions, R codes and Examples using the did2s R package
Some associated functions: castle . df_het . df_hom . did2s . event_study . gen_data . 
Some associated R codes: data.R . did2s-package.R . did2s.R . event_study.R . gen_data.R . utils-data-table.R . utils.R . zzz.R .  Full did2s package functions and examples
Downloads during the last 30 days
04/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/0505/06Downloads for did2s10152025303540455055TrendBars

Today's Hot Picks in Authors and Packages

funLBM  
Model-Based Co-Clustering of Functional Data
The funLBM algorithm allows to simultaneously cluster the rows and the columns of a data matrix wher ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
aroma.affymetrix  
Analysis of Large Affymetrix Microarray Data Sets
A cross-platform R framework that facilitates processing of any number of Affymetrix microarray samp ...
Download / Learn more Package Citations See dependency  
humanize  
Create Values for Human Consumption
An almost direct port of the 'python' 'humanize' package . Thi ...
Download / Learn more Package Citations See dependency  
MLDS  
Maximum Likelihood Difference Scaling
Difference scaling is a method for scaling perceived supra-threshold differences. The package cont ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA