Learn R Programming

DiSCos

The DiSCos package contains tools for computing counterfactual quantile functions in a Distributional Synthetic Controls (DiSco) setting, following the method proposed in Gunsilius (2023).

Getting Started

Have a look at the vignette replicating the empirical application in the paper to get started.

Installation

To install the latest stable version, run

install.packages("DiSCos")

You can install latest development version from GitHub with:

devtools::install_github("Davidvandijcke/DiSCos")

If you find any bugs or have any questions, please email dvdijcke@umich.edu.

Gunsilius, Florian F. 2023. “Distributional Synthetic Controls.” Econometrica 91 (3): 1105–17.

Copy Link

Version

Install

install.packages('DiSCos')

Monthly Downloads

283

Version

0.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

David Van Dijcke

Last Published

July 23rd, 2024

Functions in DiSCos (0.1.1)

DiSCo

Distributional Synthetic Controls
parseBoots

parseBoots
DiSCo_bc

Function for computing barycenters in the DiSCo method at every time period
checks

checks Carry out checks on the inputs
DiSCoT

Store aggregated treatment effects
citation

citation
DiSCo_CI_iter

DiSCo_CI_iter
myQuant

Compute the empirical quantile function
mclapply.hack

mclapply.hack
DiSCo_CI

DiSCo_CI
dube

Data from dube2019minimumDiSCos
DiSCo_per_iter

DiSCo_per_iter
DiSCo_per_rank

DiSCo_per_rank
permut

permut
ex_gmm

ex_gmm
print.permut

print.permut
plotDistOverTime

Plot distribution of treatment effects over time
DiSCo_iter

Estimate DiSCo in a single period
DiSCo_mixture

DiSCo_mixture
summary.DiSCoT

summary.DiSCoT
summary.permut

summary.permut
getGrid

getGrid
is.integer

Check if a vector is integer
DiSCo_mixture_solve

DiSCo_mixture_solve
DiSCoTEA

Aggregate treatment effects from DiSCo function.
bootCounterfactuals

bootCounterfactuals
DiSCo_weights_reg

DiSCo_weights_reg
DiSCo_per

DiSCo_per