howardprior {LearnBayes}R Documentation

Logarithm of Howard's dependent prior for two proportions

Description

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

Usage

howardprior(xy,par)

Arguments

xy matrix of parameter values where each row represents a value of the proportions (p1, p2)
par vector containing parameter values alpha, beta, gamma, delta, sigma

Value

vector of values of the log posterior where each value corresponds to each row of the parameters in xy

Author(s)

Jim Albert

Examples

par=c(1,1,1,1,2)
p1=array(c(.1, .5),c(1,2))
p2=array(c(.3, .8),c(1,2))
xy=cbind(p1,p2)
howardprior(xy,par)

[Package LearnBayes version 1.0 Index]