Description Usage Arguments Value See Also
View source: R/influence_functions.R
get_quant_g
returns the quantiles for the function g(eta)
1 | get_quant_g(g, eps, min_g, max_g)
|
g |
a matrix n x delta g (generally evaluated at the X in the train set), where each column represents the function g(eta) for a given value of delta. |
eps |
vector of epsilon values (prop. unmeasured confounding) |
min_g |
the min value of g. The zero-quantile is set to be the min(g) - 1e-10, so that for eps = 0, the ATE is point-identified. This is because R takes the minimum to be the zero-quantile. |
max_g |
the max value of g. The one-quantile is set to be the max(g). |
a length(eps) x ncol(g) (= ndelta) matrix, where each entry (i,j) equals quantile(g[, delta[j]], p = eps[i])
if_gamma
, get_ifvals
,
if_tau
, get_g
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.