Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ExtractPIPs

Extract posterior inclusion probabilities (PIPs) from BKMR model fit


Description

Extract posterior inclusion probabilities (PIPs) from Bayesian Kernel Machine Regression (BKMR) model fit

Usage

ExtractPIPs(fit, sel = NULL, z.names = 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

z.names

optional argument providing the names of the variables included in the h function.

Details

For guided examples, go to https://jenfb.github.io/bkmr/overview.html

Value

a data frame with the variable-specific PIPs for BKMR fit with component-wise variable selection, and with the group-specific and conditional (within-group) PIPs for BKMR fit with hierarchical variable selection.


bkmr

Bayesian Kernel Machine Regression

v0.2.0
GPL-2
Authors
Jennifer F. Bobb [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.