Contains methods for computing counterfactuals with a continuous treatment variable as in Callaway and Huang (2017) <https://ssrn.com/abstract=3078187>. 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.
Version: | 1.0.0 |
Depends: | R (≥ 2.1.0) |
Imports: | quantreg, stats, pbapply, BMisc, tidyr, ggplot2, TempleMetrics, formula.tools |
Published: | 2017-11-29 |
Author: | Weige Huang [aut, cre], Brantly Callaway [aut] |
Maintainer: | Weige Huang <weige.huang at temple.edu> |
License: | GPL-2 |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | ccfa results |
Reference manual: | ccfa.pdf |
Package source: | ccfa_1.0.0.tar.gz |
Windows binaries: | r-devel: ccfa_1.0.0.zip, r-release: ccfa_1.0.0.zip, r-oldrel: ccfa_1.0.0.zip |
OS X El Capitan binaries: | r-release: ccfa_1.0.0.tgz |
OS X Mavericks binaries: | r-oldrel: ccfa_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=ccfa to link to this page.