Evaluate usual influence function of IPTW
eval_Diptw(A, Y, DeltaA, DeltaY, gn, psi_n, a_0)
A
: A vector of binary treatment assignment (assumed to be equal to 0 or 1)Y
: A numeric of continuous or binary outcomes.DeltaA
: Indicator of missing treatment (assumed to be equal to 0 if missing 1 if observed)DeltaY
: Indicator of missing outcome (assumed to be equal to 0 if missing 1 if observed)gn
: List of estimated propensity scores evaluated at observationspsi_n
: List of estimated ATEsa_0
: Vector of values to return marginal mean