Description Usage Arguments Value See Also
View source: R/influence_functions.R
if_gamma
computes the influence function values for the
parameter E(E(Y|A=a, X))) evaluated at each X.
1 | if_gamma(y, a, aval, pia, mua)
|
y |
nx1 vector of outcomes in [0, 1] |
a |
nx1 vector of treatments |
aval |
scalar, if aval=a then it returns the if vals for E(E(Y|A=a, X))) |
pia |
nx1 vector with estimates for P(A=aval | X) evaluated at each X. |
mua |
nx1 vector with estimates for E(Y|A=aval, X) evaluated at each X. |
a length(y)x1 matrix containing the influence function values at each observed X of the parameter E(E(Y|A=a, X)).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.