Description Usage Arguments Value Author(s) Examples
Computes the logarithm of a dependent prior on two proportions proposed by Howard in a Statistical Science paper in 1998.
1 | howardprior(xy,par)
|
xy |
vector of proportions p1 and p2 |
par |
vector containing parameter values alpha, beta, gamma, delta, sigma |
value of the log posterior
Jim Albert
1 2 3 | param=c(1,1,1,1,2)
p=c(.1,.5)
howardprior(p,param)
|
[1] -0.6034745
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.