poissgamexch: Log posterior of Poisson/gamma exchangeable model

Description Usage Arguments Value Author(s) Examples

Description

Computes the log posterior density of log alpha and log mu for a Poisson/gamma exchangeable model

Usage

1
poissgamexch(theta,datapar)

Arguments

theta

vector of parameter values of log alpha and log mu

datapar

list with components data, a matrix with columns e and y, and z0, prior hyperparameter

Value

value of the log posterior

Author(s)

Jim Albert

Examples

1
2
3
4
5
6
7
e=c(532,584,672,722,904)
y=c(0,0,2,1,1)
data=cbind(e,y)
theta=c(-4,0)
z0=.5
datapar=list(data=data,z0=z0)
poissgamexch(theta,datapar)


Search within the LearnBayes package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.