Learn R Programming

BAS (version 1.0.6)

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)

Arguments

n
the sample size.

Value

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

Details

Creates a structure used for bas.glm.

See Also

CCH andbas.glm

Examples

Run this code
robust(100)

Run the code above in your browser using DataLab