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

Description Usage Arguments Value Author(s) Examples

View source: R/howardprior.R

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)

LearnBayes documentation built on May 30, 2017, 4:48 a.m.