marginal.probs {FBMS}R Documentation

Function for calculating marginal inclusion probabilities of features given a list of models

Description

Function for calculating marginal inclusion probabilities of features given a list of models

Usage

marginal.probs(models)

Arguments

models

The list of models to use.

Value

A numeric vector of marginal model probabilities based on relative frequencies of model visits in MCMC.

Examples

result <- gmjmcmc(matrix(rnorm(600), 100), P = 2, gaussian.loglik, NULL, c("p0", "exp_dbl"))
marginal.probs(result$models[[1]])


[Package FBMS version 1.0 Index]