evaluate_eif_total: Function to evaluate the canonical gradient of the total...

Description Usage Arguments

View source: R/evaluate_eif.R

Description

Function to evaluate the canonical gradient of the total effect at a given set of estimated nuisance parameters and for each observation.

Usage

1
evaluate_eif_total(Y, A, Qbarbar, gn, a, a_star, ...)

Arguments

Y

The outcome

A

The treatment

Qbarbar

A list; needs to have entries named M1_M2_a and M1_star_M2_star_a_star corresponding to, respectively, the outcome regression under A = a, marginalized with respect to joint mediator distribution given C and A = a, and the outcome regression under A = a_star, marginalized with respect to the joint mediator distribution given C and A = a_star.

gn

List of mediator values

a

Treatment value

a_star

Referent treatment value


benkeser/intermed documentation built on Dec. 19, 2021, 8:43 a.m.