Learn R Programming

BAS (version 1.4.7)

g.prior: Families of G-Prior Distribution for Coefficients in BMA Models

Description

Creates an object representing the g-prior distribution on coefficients for BAS.

Usage

g.prior(g)

Arguments

g

a scalar used in the covariance of Zellner's g-prior, Cov(beta) = sigma^2 g (X'X)^-1

Value

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

Details

Creates a structure used for BAS.

See Also

IC.prior

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

Examples

Run this code
# NOT RUN {
g.prior(100)

# }

Run the code above in your browser using DataLab