R package citation, R package reverse dependencies, R package scholars, install an r package from GitHub hy is package acceptance pending why is package undeliverable amazon why is package on hold dhl tour packages why in r package r and r package full form why is r free why r is bad which r package to install which r package has which r package which r package version which r package readxl which r package ggplot which r package fread which r package license where is package.json where is package-lock.json where is package.swift where is package explorer in eclipse where is package where is package manager unity where is package installer android where is package manager console in visual studio who r package which r package to install which r package version who is package who is package deal who is package design r and r package full form r and r package meaning what r package has what package r what is package in java what is package what is package-lock.json what is package in python what is package.json what is package installer do r package can't install r packages r can't find package r can't load package can't load xlsx package r can't install psych package r can't install sf package r Write if else in NONMEM pk pd
did
View on CRAN: Click
here
Download and install did package within the R console
Install from CRAN:
install.packages("did")
Install from Github:
library("remotes")
install_github("cran/did") Install by package version:
library("remotes")
install_version("did", "2.3.0") Attach the package and use:
library("did")
Maintained by
Brantly Callaway
[Scholar Profile | Author Map]
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-04-03
Latest Update: 2022-07-20
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 setups with more than two periods and with variation in treatment timing using the methods developed in Callaway and Sant'Anna (2021) . 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.
How to cite:
Brantly Callaway (2018). did: Treatment Effects with Multiple Periods and Groups. R package version 2.3.0, https://cran.r-project.org/web/packages/did. Accessed 07 Mar. 2026.
Previous versions and publish date:
Other packages that cited did R package
View did citation profile
Other R packages that did depends,
imports, suggests or enhances
Complete documentation for did
Functions, R codes and Examples using
the did R package
Some associated functions: AGGTEobj . DIDparams . MP.TEST . MP . aggte . att_gt . build_sim_dataset . citation . compute.aggte . compute.att_gt . conditional_did_pretest . did . getSE . get_agg_inf_func . ggdid.AGGTEobj . ggdid.MP . ggdid . glance.AGGTEobj . glance.MP . gplot . indicator . mboot . mpdta . pre_process_did . print.AGGTEobj . print.MP . process_attgt . reexports . reset.sim . sim . splot . summary.AGGTEobj . summary.MP.TEST . summary.MP . test.mboot . tidy.AGGTEobj . tidy.MP . trimmer . wif .
Some associated R codes: AGGTEobj.R . DIDparams.R . MP.R . MP.TEST.R . aggte.R . att_gt.R . compute.aggte.R . compute.att_gt.R . conditional_did_pretest.R . data.R . ggdid.R . gplot.R . imports.R . mboot.R . pre_process_did.R . process_attgt.R . simulate_data.R . tidy.R . utility_functions.R . zzz.R . Full did package functions and examples
Downloads during the last 30 days
Today's Hot Picks in Authors and Packages
SAMtool
Simulation tools for closed-loop simulation are provided for the 'MSEtool' operating model to inform ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Quang Huynh (view profile)
nextGenShinyApps
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Obinna Obianom (view profile)
ReviewR
A portable Shiny tool to explore patient-level electronic health record data
and perform chart revi ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: David Mayer (view profile)
lmSubsets
Exact and approximation algorithms for variable-subset
selection in ordinary linear regression mode ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Marc Hofmann (view profile)
portalr
Download and generate summaries for the rodent,
plant, ant, and weather data from the Portal Projec ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Glenda M. Yenni (view profile)
testDriveR
Provides data sets for teaching statistics and data science courses. It includes a sample of data f ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Christopher Prener (view profile)
26,264
R Packages
223,360
Dependencies
70,376
Author Associations
26,265
Publication Badges
