Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

Data Representation: Bayesian Approach That's Sparse

v0.1.5
GPL-3
Authors
Anne Bisson [cre], Gabrielle Weinrott [aut], Brigitte Charnomordic [aut], Benedicte Fontez [aut], Nadine Hilgert [aut], Susan Holmes [aut]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.