WeigeHuangEcon/ccfa: Continuous Counterfactual Analysis

Contains methods for computing counterfactuals with a continuous treatment variable as in Callaway and Huang (2020) <https://doi.org/10.1111/obes.12355>. In particular, the package can be used to calculate the expected value, the variance, the interquantile range, the fraction of observations below or above a particular cutoff, or other user-supplied functions of an outcome of interest conditional on a continuous treatment. The package can also be used for computing these same functionals after adjusting for differences in covariates at different values of the treatment. Further, one can use the package to conduct uniform inference for each parameter of interest across all values of the treatment, uniformly test whether adjusting for covariates makes a difference at any value of the treatment, and test whether a parameter of interest is different from its average value at an value of the treatment.

Getting started

Package details

Maintainer
LicenseGPL-2
Version1.1.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("WeigeHuangEcon/ccfa")
WeigeHuangEcon/ccfa documentation built on Dec. 17, 2020, 7:36 p.m.