if_gamma: Estimation of influence function for E(E(Y|A=a, X))

Description Usage Arguments Value See Also

View source: R/influence_functions.R

Description

if_gamma computes the influence function values for the parameter E(E(Y|A=a, X))) evaluated at each X.

Usage

1
if_gamma(y, a, aval, pia, mua)

Arguments

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.

Value

a length(y)x1 matrix containing the influence function values at each observed X of the parameter E(E(Y|A=a, X)).

See Also

get_ifvals, if_tau.


matteobonvini/sensitivitypuc documentation built on Dec. 9, 2020, 2:24 a.m.