Learn R Programming

BAS (version 1.4.7)

hyper.g: Hyper-g-Prior Distribution for Coefficients in BMA Models

Description

Creates an object representing the hyper-g mixture of g-priors on coefficients for BAS.

Usage

hyper.g(alpha = 3)

Arguments

alpha

a scalar > 0. The hyper.g(alpha) is equivalent to CCH(alpha -2, 2, 0). Liang et al recommended values in the range 2 < alpha_h <= 3

Value

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

Details

Creates a structure used for bas.glm.

See Also

CCH bas.glm

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

Examples

Run this code
# NOT RUN {
hyper.g(alpha=.5) 


# }

Run the code above in your browser using DataLab