Learn R Programming

BAS (version 1.2.2)

hyper.g.n: Generalized hyper-g/n Prior Distribution for g for mixtures of g-priors on Coefficients in BMA Models

Description

Creates an object representing the hyper-g/n mixture of g-priors on coefficients for BAS. This is a special case of the tCCH prior

Usage

hyper.g.n(alpha=3, n)

Arguments

alpha
a scalar > 0, recommended 2 < alpha
n
The sample size

Value

hyerparameters.

Details

Creates a structure used for bas.glm. This is a special case of the tCCH, where hyper.g.n(alpha=3, n) is equivalent to tCCH(alpha=1, beta=2, s=0, r=1.5, v = 1, theta=1/n)

See Also

tCCH, robust, hyper.g, CCHbas.glm

Examples

Run this code
 hyper.g.n(alpha = 3, n=n)

Run the code above in your browser using DataLab