beta.binomial | R Documentation |
Creates an object representing the prior distribution on models for BAS.
beta.binomial(alpha = 1, beta = 1)
alpha |
parameter in the beta prior distribution |
beta |
parameter in the beta prior distribution |
The beta-binomial distribution on model size is obtained by assigning each variable inclusion indicator independent Bernoulli distributions with probability w, and then giving w a beta(alpha,beta) distribution. Marginalizing over w leads to the distribution on model size having the beta-binomial distribution. The default hyperparameters lead to a uniform distribution over model size.
returns an object of class "prior", with the family and hyperparameters.
Merlise Clyde
bas.lm
, Bernoulli
,uniform
Other priors modelpriors:
Bernoulli()
,
Bernoulli.heredity()
,
tr.beta.binomial()
,
tr.poisson()
,
tr.power.prior()
,
uniform()
beta.binomial(1, 10) #' @family priors modelpriors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.