Learn R Programming

BayesS5 (version 1.41)

Bernoulli_Uniform: 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

Run this code
# NOT RUN {
p = 5000
ind = 1:3 
m = Bernoulli_Uniform(ind,p)
print(m)
# }

Run the code above in your browser using DataLab