A combination function of VarRiskSummary and riskSummary.approx for MI BKMR fits, compare estimated h
function when a single variable (or a set of variables) is at the 75th versus 25th percentile, when all of the other variables are fixed at a particular percentile
VarRiskSummary.CMA(
whichz = 1,
BKMRfits,
e.y = NULL,
e.y.names = NULL,
qs.diff = c(0.25, 0.75),
q.fixed = 0.5,
alpha,
sel,
seed
)
vector indicating which variables (columns of Z) for which the summary should be computed
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 the two quantiles q_1 and q_2 at which to compute h(z_{q2}) -h(z_{q1})
vector of quantiles at which to fix the remaining predictors in Z
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 predictor risk measures