Learn R Programming

BAS (version 1.7.3)

robust: Robust-Prior Distribution for Coefficients in BMA Model

Description

Creates an object representing the robust prior of Bayarri et al (2012) that is mixture of g-priors on coefficients for BAS.

Usage

robust(n = NULL)

Value

returns an object of class "prior", with the family and hyerparameters.

Arguments

n

the sample size.

Author

Merlise Clyde

Details

Creates a prior structure used for bas.glm.

See Also

CCH andbas.glm

Other beta priors: CCH(), EB.local(), IC.prior(), Jeffreys(), TG(), beta.prime(), g.prior(), hyper.g(), hyper.g.n(), intrinsic(), tCCH(), testBF.prior()

Examples

Run this code
robust(100)

Run the code above in your browser using DataLab