calc.loglik: Calculate the log likelihood of the model
Description
Calculate the log likelihood of the model
Usage
calc.loglik(Y, W, B, sigma2, tau2, a = 0.001, b = 0.001)
Arguments
a
the first parameter of the inverse gamma distribution
b
the second parameter of the inverse gamma distribution
Value
loglik the likelihood