Rdocumentation
powered by
Learn R Programming
BAS (version 0.4)
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
Examples
Run this code
g.prior(
100
)
Run the code above in your browser using
DataLab