calc.loglik: Calculate the log likelihood of the model

View source: R/modelEval.R

calc.loglikR Documentation

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

Y

is an NxP matrix

W

is a PxD matrix

B

is a DxN matrix

sigma2

is a real number

tau2

is a real number

a

the first parameter of the inverse gamma distribution

b

the second parameter of the inverse gamma distribution

Value

loglik the likelihood

Author(s)

Gabrielle Weinrott


DrBats documentation built on March 18, 2022, 5:15 p.m.