| integral_quantile | R Documentation |
Computes \int_a^b Q(u) \, du where Q is the empirical
quantile function of ec, i.e., Q(u) = \inf\{y : F(y) \ge u\}.
Used by the discrete CIC estimator to average the counterfactual
over a quantile band.
integral_quantile(ec, a, b)
ec |
An ecdf object from |
a |
Lower integration limit in |
b |
Upper integration limit in |
Numeric scalar equal to the integral.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.