beta_cauchy

 

Evaluate the function beta for the quasi-Cauchy prior

 

DESCRIPTION

 

Given a value or vector of values, find the value(s) of the function beta, defined as (g/phi - 1), where g is the marginal density conditional on the mean being nonzero and having a quasi-Cauchy prior.

USAGE

 

beta_cauchy(x)

 

REQUIRED ARGUMENTS

 

x a data value or a vector of data

OPTIONAL ARGUMENTS

 

 

VALUE 

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

 

SEE ALSO

 

beta_laplace

 

EXAMPLES

 

beta_cauchy([-2 1 0 -4 8 50])