calc_relative_lik_matrix | R Documentation |
Computes matrix of relative likelihoods for each of J rows of Bhat for each of P prior covariances.
This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.
calc_relative_lik_matrix(data, Ulist, algorithm.version = c("Rcpp", "R"))
data |
A |
Ulist |
List containing the prior covariance matrices. |
algorithm.version |
indicates R or Rcpp |
The return value is a list containing the following components:
lik_matrix |
J x P matrix containing likelihoods p(bhat[j] + Ulist[p], V), but normalized so that the largest entry in each row is 1. |
lfactors |
Vector which will recover the original
likelihoods; for example, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.