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 29 Mar. 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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/27Downloads for did2s51015202530354045TrendBars

Today's Hot Picks in Authors and Packages

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  
gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  
landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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