Description Usage Arguments Value Author(s) Examples
Computes the log posterior density of (M,log S) when a sample is taken from a Cauchy density with location M and scale S and a uniform prior distribution is taken on (M, log S)
1 | cauchyerrorpost(theta,data)
|
theta |
vector of parameter values of M and log S |
data |
vector containing sample of observations |
value of the log posterior
Jim Albert
1 2 3 | data=c(108, 51, 7, 43, 52, 54, 53, 49, 21, 48)
theta=c(40,1)
cauchyerrorpost(theta,data)
|
[1] -54.70607
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.