bma_table: Extract the BMA Statistics Table

View source: R/accessors.R

bma_tableR Documentation

Extract the BMA Statistics Table

Description

Returns the table of Bayesian model averaging statistics computed under one of the two model priors, without reaching into the internal structure of the object.

Usage

bma_table(x, ...)

## S3 method for class 'badp_bma'
bma_table(x, prior = c("binomial", "beta"), ...)

Arguments

x

An object of class badp_bma, typically the result of bma.

...

Arguments passed to methods.

prior

Model prior: "binomial" (the default) or "beta" for the binomial-beta prior.

Details

The columns are PIP, the posterior inclusion probability; PM and PSD, the posterior mean and posterior standard deviation; PSDR, the posterior standard deviation built from robust standard errors; PMcon, PSDcon and PSDRcon, the same three quantities conditional on the regressor being included; and %(+), the percentage of models in which the coefficient is positive. The first row is the lagged dependent variable, which enters every model by construction.

Value

A numeric matrix with one row per parameter and eight columns.

See Also

bma, pip, coef.badp_bma, summary.badp_bma

Examples


data(full_model_space)
results <- bma(full_model_space)

bma_table(results)
bma_table(results, prior = "beta")



badp documentation built on Sept. 15, 2026, 1:08 a.m.