Defining A Task

tmle3_Task make_tmle3_Task()

Class for Storing Data and NPSEM for TMLE

NPSEM

tmle3_Node define_node()

A Node (set of variables) in an NPSEM

all_ancestors() time_ordering()

Helper functions for the NPSEM

Likelihood

Likelihood make_Likelihood()

Class for Likelihood

CF_Likelihood make_CF_Likelihood()

Counterfactual Likelihood

Likelihood Factors

define_lf()

Define a Likelihood Factor

LF_base

Base Class for Defining Likelihood Factors

LF_derived

Derived Likelihood Factor Estimated from Data + Other Likelihood values, using sl3.

LF_emp

Likelihood Factor Estimated using Empirical Distribution

LF_fit

Likelihood Factor Estimated from Data using sl3.

LF_known

Known True Likelihood Factor

LF_static

Static Likelihood Factor

Parameters

define_param()

Define a Parameter

Param_ATE

Average Treatment Effect

Param_ATT

Additive Effect of Treatment Among the Treated

Param_TSM

Treatment Specific Mean

Param_base

Base Class for Defining Parameters

Param_delta

Delta Method Parameters

Param_mean

Mean of Outcome Node

Param_stratified

Stratified Parameter Estimates

Propensity Scores

density_formula() get_propensity_scores() propensity_score_plot() propensity_score_table()

Get and Plot Propensity Scores

Index

CF_Likelihood make_CF_Likelihood()

Counterfactual Likelihood

ED_from_estimates()

Get Empirical Mean of EIFs from Estimates

LF_base

Base Class for Defining Likelihood Factors

LF_derived

Derived Likelihood Factor Estimated from Data + Other Likelihood values, using sl3.

LF_emp

Likelihood Factor Estimated using Empirical Distribution

LF_fit

Likelihood Factor Estimated from Data using sl3.

LF_known

Known True Likelihood Factor

LF_static

Static Likelihood Factor

Likelihood make_Likelihood()

Class for Likelihood

Likelihood_cache

Cache Likelihood values, update those values

Param_ATE

Average Treatment Effect

Param_ATT

Additive Effect of Treatment Among the Treated

Param_TSM

Treatment Specific Mean

Param_base

Base Class for Defining Parameters

Param_delta

Delta Method Parameters

Param_mean

Mean of Outcome Node

Param_stratified

Stratified Parameter Estimates

Targeted_Likelihood

Targeted Likelihood

bound()

Bound (Truncate) Likelihoods

define_lf()

Define a Likelihood Factor

define_param()

Define a Parameter

delta_param_ATE

PAR = Linear Contrast EY1-EY0

delta_param_OR

Odds Ratio odds(Y1)/odds(Y0)

delta_param_PAF

PAF = 1 - (1/RR(EY/E0))

delta_param_PAR

PAR = Linear Contrast EY-EY0

delta_param_RR

Risk Ratio EY1/EY0

discretize_variable()

Discretize Continuous Variable

all_ancestors() time_ordering()

Helper functions for the NPSEM

plot_vim()

Plot results of variable importance analysis

point_tx_npsem() point_tx_task() point_tx_likelihood()

Helper Functions for Point Treatment

process_missing()

Preprocess Data to Handle Missing Variables

density_formula() get_propensity_scores() propensity_score_plot() propensity_score_table()

Get and Plot Propensity Scores

submodel_logit()

Logistic Submodel Fluctuation

summary_from_estimates()

Summarize Estimates

tmle3()

TMLE from a tmle3_Spec object

tmle3_Fit fit_tmle3()

TMLE fit object

tmle3_Node define_node()

A Node (set of variables) in an NPSEM

tmle3_Spec

Defines a TML Estimator (except for the data)

tmle3_Spec_ATE

Defines a TML Estimator (except for the data)

tmle3_Spec_OR

Defines a TML Estimator for the Odds Ratio

tmle3_Spec_PAR

Defines a tmle (minus the data)

tmle3_Spec_RR

Defines a TML Estimator for the Risk Ratio

tmle3_Spec_TSM_all

Defines a TML Estimator (except for the data)

tmle3_Spec_stratified

Defines a Stratified TML Estimator (except for the data)

tmle3_Task make_tmle3_Task()

Class for Storing Data and NPSEM for TMLE

tmle3_Update

Defines an update procedure (submodel+loss function)

tmle3_vim()

Compute Variable Importance Measures (VIM) with any given parameter

tmle_ATE()

All Treatment Specific Means

tmle_OR()

Odds Ratio

tmle_PAR()

PAR and PAF

tmle_RR()

Risk Ratio

tmle_TSM_all()

All Treatment Specific Means

tmle_stratified()

Stratified version of TML estimator from other Spec classes

train_lf()

Manually Train Likelihood Factor The internal training process for likelihood factors is somewhat obtuse, so this function does the steps to manually train one, which is helpful if you want to use a likelihood factor independently of a likelihood object