calc.loglik | R Documentation |
Calculate the log likelihood of the model
calc.loglik(Y, W, B, sigma2, tau2, a = 0.001, b = 0.001)
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 |
loglik the likelihood
Gabrielle Weinrott
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.