Learn R Programming

BAS (version 1.7.5)

Bernoulli.heredity: Independent Bernoulli prior on models that with constraints for model hierarchy induced by interactions

Description

Independent Bernoulli prior on models that with constraints for model hierarchy induced by interactions

Usage

Bernoulli.heredity(pi = 0.5, parents)

Arguments

pi

Bernoulli probability that term is included

parents

matrix of terms and parents with indicators of which terms are parents for each term

See Also

Other priors modelpriors: Bernoulli(), beta.binomial(), tr.beta.binomial(), tr.poisson(), tr.power.prior(), uniform()