summary method for class "dfl_decompose"
# S3 method for dfl_decompose
summary(object, ..., confidence_level = 0.95, digits = 4)
The function summary.dfl_decompose()
displays the decompositions
terms save in object
. The function further returns a list with the displayed
decomposition terms and, if standard errors were bootstrapped, the corresponding
standard errors and confindence bands.
an object of class "dfl_decompose", a result of a call to [dfl_decompose()].
other parameters to be passed through to printing functions.
numeric value between 0 and 1 (default = 0.95) that defines the confidence level of the printed confidence intervals.
number of digits to be printed.
If standard errors were bootstrapped, standard
errors and confidence bands are given. Pointwise confidences bands are defined
as qnorm((1-confidence_level)/2)
* standard error. Uniform bands
are constructed by multiplying the standard error with confidence_level
-quantile
of the bootstrapped Kolmogorov-Smirnov statistic as in Chen et al. (2017).
Chen, Mingli, Victor Chernozhukov, Iván Fernández-Val, and Blaise Melly. 2017. "Counterfactual: An R Package for Counterfactual Analysis." The R Journal 9(1): 370-384.