Bernoulli_Uniform {BayesS5}R Documentation

Bernoulli-Uniform model prior

Description

A mixture model prior with Bernoulli and uniform densities. See Scott and Berger (2010) for details.

Usage

Bernoulli_Uniform(ind,p)

Arguments

ind

an index set of variables in a model

p

the total number of covariates

References

Scott, James G., and James O. Berger. "Bayes and empirical-Bayes multiplicity adjustment in the variable-selection problem." The Annals of Statistics 38.5 (2010): 2587-2619.

See Also

Uniform

Examples

p = 5000
ind = 1:3 
m = Bernoulli_Uniform(ind,p)
print(m)

[Package BayesS5 version 1.41 Index]