Compute_Mult_Test_Stat_adj: Quantify indirect effect using inverse odds weighting...

View source: R/Compute_Mult_Test_Stat_adj.R

Compute_Mult_Test_Stat_adjR Documentation

Quantify indirect effect using inverse odds weighting adjusted for confounders

Description

This function performs mediation analysis using inverse odds weighting to compute the indirect effect of multiple mediators with the presence of confounders.

Usage

Compute_Mult_Test_Stat_adj(exposure, outcome, confounder, mediator)

Arguments

exposure

vector of exposure variable

outcome

vector of outcome variable

confounder

matrix of covariates

mediator

matrix of mediator variables

Value

The indirect effect of multiple mediators


yukamoro/HTMMIOW documentation built on May 5, 2022, 6:47 a.m.