Contains methods for computing counterfactuals with a continuous treatment variable as in Callaway and Huang (2017) . 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.
WeigeHuangEcon/ccfa documentation built on Nov. 30, 2017, 6:26 a.m.
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R: