make_phi_task: Make task for derived likelihood factor phi(W)

Description Usage Arguments

View source: R/tmle3_Spec_medshift.R

Description

Make task for derived likelihood factor phi(W)

Usage

1
make_phi_task(tmle_task, likelihood)

Arguments

tmle_task

A tmle3_Task specifying the data and NPSEM for use in constructing components required for TML estimation.

likelihood

A trained Likelihood, constructed via the stochastic_mediation_likelihood helper.


nhejazi/medshift documentation built on Feb. 8, 2022, 10:55 p.m.