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]
All associated links for this package
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 22 Dec. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

dmlalg  
Double Machine Learning Algorithms
Implementation of double machine learning (DML) algorithms in R, based on Emmenegger and Buehlmann ...
Download / Learn more Package Citations See dependency  
Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  
elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
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  
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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