howardprior: Logarithm of Howard's dependent prior for two proportions

Description Usage Arguments Value Author(s) Examples

Description

Computes the logarithm of a dependent prior on two proportions proposed by Howard in a Statistical Science paper in 1998.

Usage

1

Arguments

xy

vector of proportions p1 and p2

par

vector containing parameter values alpha, beta, gamma, delta, sigma

Value

value of the log posterior

Author(s)

Jim Albert

Examples

1
2
3
param=c(1,1,1,1,2)
p=c(.1,.5)
howardprior(p,param)

Example output

[1] -0.6034745

LearnBayes documentation built on May 1, 2019, 7:03 p.m.