Learn R Programming

EbayesThresh (version 1.4-12)

beta.cauchy: Function beta for the quasi-Cauchy prior

Description

Given a value or vector \(x\) of values, find the value(s) of the function \(\beta(x)=g(x)/\phi(x) - 1\), where \(g\) is the convolution of the quasi-Cauchy with the normal density \(\phi(x)\).

Usage

beta.cauchy(x)

Arguments

x

a real value or vector

Value

A vector the same length as \(x\), containing the value(s) \(\beta(x)\).

References

See ebayesthresh and http://www.bernardsilverman.com

See Also

beta.laplace

Examples

Run this code
# NOT RUN {
  beta.cauchy(c(-2,1,0,-4,8,50))
# }

Run the code above in your browser using DataLab