summary_medltmle: summary_medltmle

View source: R/medltmle_HelperFun.R

summary_medltmleR Documentation

summary_medltmle

Description

Function to summarize Natural Indirect Effect and Natural Direct Effect parameters estimated by medltmle.

Usage

summary_medltmle(nie1, nie2, nde1, nde2)

Arguments

nie1

First part of the treatment/mediator specific mean returned by medltmle for the Natural Indirect Effect. It should correspond to the output generated by medltmle with abar=1, abar.prime=1 for NIE.

nie2

Second part of the treatment/mediator specific mean returned by medltmle for the Natural Indirect Effect. It should correspond to the output generated by medltmle with abar=1, abar.prime=0 for NIE.

nde1

First part of the treatment/mediator specific mean returned by medltmle for the Natural Direct Effect. It should correspond to the output generated by medltmle with abar=1, abar=0 for NDE.

nde2

Second part of the treatment/mediator specific mean returned by medltmle for the Natural Direct Effect. It should correspond to the output generated by medltmle with abar=0, abar.prime=0 for NDE.

Value

Returns summary statistics corresponding to Natural Indirect Effect and Natural Direct Effect parameters.


podTockom/medltmle documentation built on Aug. 9, 2022, 9:32 a.m.