|
beta_laplace |
|
Evaluate the function beta for the Laplace 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 Laplace prior.
USAGE
beta_laplace(x, a)
REQUIRED ARGUMENTS
| x | a data value or a vector of data |
OPTIONAL ARGUMENTS
| a |
VALUE
A vector the
same length as x is
returned, containing the value(s) beta(x).
SEE ALSO
EXAMPLES
beta_laplace([-2 1 0 -4 8 50])
beta_laplace([-2 1 0 -4 8 50],1)