normnormexch: Log posterior of mean and log standard deviation for Normal/Normal exchangeable model
Description
Computes the log posterior density of mean and log standard deviation for a Normal/Normal exchangeable model where (mean, log sd) is given a uniform prior.
Usage
normnormexch(theta,data)
Arguments
theta
vector of parameter values of mu and log tau
data
a matrix with columns y (observations) and v (sampling variances)