All functions

BKMRfits10

Sample Data for MI BKMR

CDE.bkmr.MI()

Estimate controlled direct effect for BKMR-CMA-MI

CDE.bkmr()

Estimate controlled direct effect for BKMR

CDERiskSummaries.CMA()

CDERiskSummaries.CMA

CDESingVarRiskSummaries.CMA()

Single Variable Risk Summaries Compute summaries of the risks associated with a change in a single variable in Z from a single level (quantile) to a second level (quantile), for the other variables in Z fixed to a specific level (quantile)

CDEVarRiskSummary.CMA()

Single variable plot for CDE.

ComputePostmeanHnew.approx()

Compute the posterior mean and variance of h at a new predictor values using approx method for MI BKMR fits

ComputePostmeanHnew.exact.MI()

Compute the posterior mean and variance of h at a new predictor values using exact method for MI BKMR fits

OverallRiskSummaries.MI()

Calculate overall risk summaries for BKMR MI

OverallRiskSummaries.fixEY()

Calculate overall risk summaries when fixing multiple effect modifiers at certain levels

PredictorResponseBivar.MI()

Predict the exposure-response function at a new grid of points for MI BKMR

PredictorResponseBivarPair.MI()

Plot bivariate predictor-response function on a new grid of points for MI BKMR

PredictorResponseUnivar.MI()

Plot univariate predictor-response function on a new grid of point for MI BKMR

Rubin.MI()

Rubins 1987 method

SingVarRiskSummaries.CMA()

Single Variable Risk Summaries for CMA Compute summaries of the risks associated with a change in a single variable in Z from a single level (quantile) to a second level (quantile), for the other variables in Z fixed to a specific level (quantile)

SingVarRiskSummaries.MI()

Single Variable Risk Summaries for MI BKMR fits Compute summaries of the risks associated with a change in a single variable in Z from a single level (quantile) to a second level (quantile), for the other variables in Z fixed to a specific level (quantile) for MI BKMR fits

SingVarRiskSummaries.fixEY()

Calculate Single Variable Risk Summaries when fixing multiple effect modifiers at certain levels Compute summaries of the risks associated with a change in a single variable in Z from a single level (quantile) to a second level (quantile), for a set of effect modifiers (in Z) fixed to a specific level (quantile)

TE.bkmr.MI()

Estimate total effect for BKMR

TE.bkmr()

Estimate total effect for BKMR

TERiskSummaries.CMA()

TERiskSummaries.CMA

VarRiskSummary.CMA()

VarRiskSummary.CMA

YaMastar.SamplePred()

YaMastar counterfactual

YaYastar.SamplePred() YaYastar.SamplePred()

Estimate TE for BKMR-CMA-MI

Z.complete.MI()

Function to compile the exposures from all MI datasets

cma_sampledata()

CMA Sample Data Simulation

makeKpart()

makeKpart

makeVcomps()

Title

mediation.bkmr.MI()

Estimate NDE/NIE for BKMR-CMA-MI

mediation.bkmr()

Estimate NDE/NIE for BKMR(plus TE)

postresults()

Posterior/Bootstrap Summary Function