CalcWithinGroupPIPs {bkmr}R Documentation

Calculate conditional predictor specific posterior inclusion probabilities

Description

For those predictors within a multi-preditor group, as defined using the groups argument, the posterior inclusion probabilities for the predictor conditional on the group being selected into the model.

Usage

CalcWithinGroupPIPs(fit, sel = NULL)

Arguments

fit

An object containing the results returned by a the kmbayes function

sel

logical expression indicating samples to keep; defaults to keeping the second half of all samples


[Package bkmr version 0.2.0 Index]