Bernoulli_Uniform: Bernoulli-Uniform model prior

Description Usage Arguments References See Also Examples

View source: R/Bernoulli_Uniform.R

Description

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

Usage

1

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

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

Example output

[1] -32.27661

BayesS5 documentation built on March 26, 2020, 7:14 p.m.