Skip to contents

Creates an object representing the Beta-Prime prior that is mixture of g-priors on coefficients for BAS.

Usage

beta.prime(n = NULL)

Arguments

n

the sample size; if NULL, the value derived from the data in the call to `bas.glm` will be used.

Value

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

Details

Creates a structure used for bas.glm.

See also

CCH

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

Author

Merlise Clyde

Examples

beta.prime(n = 100)
#> $family
#> [1] "betaprime"
#> 
#> $class
#> [1] "TCCH"
#> 
#> $hyper.parameters
#> $hyper.parameters$n
#> [1] 100
#> 
#> $hyper.parameters$alpha
#> [1] 0.5
#> 
#> 
#> attr(,"class")
#> [1] "prior"