Z
from a single level (quantile) to a second level (quantile), for the other variables in Z
fixed to a specific level (quantile)R/CDESingVarRiskSummaries.CMA.R
CDESingVarRiskSummaries.CMA.Rd
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)
An object contatinint the results return by the kmbayes function
effect modifier for the outcome variable
column name of the effect modifier for the outcome variable
vector indicating which variables (columns of Z) for which the summary should be computed
optional vector of names for the columns of z
values that the mediator is set to
values of the quantile that the mediator is set to
column name of the mediator
vector indicating the two quantiles q_1 and q_2 at which to compute h(z_q2)-h(z_q1)
a second quantile at which to compare the estimated h function
1-confidence interval
a vector selecting which iterations of the fit should be retained or inference
the random seed to use to evaluate the code
a data frame containing the (posterior mean) estimate and posterior standard deviation of the singlepredictor CDE risk measures
For guided examples, go to https://zc2326.github.io/causalbkmr/articles/BKMRCMA_QuickStart.html