Description Usage Arguments Value See Also
This function calculates the MVN likelihood for factor analysis methods.
If L_intg = FALSE
then an approximation with point-density is used
instead of integrating over suitable bounds.
1 2 |
test |
data frame. Test data set for evaluation. |
pred |
data frame or matrix. The provided predictions. |
tr_fa |
Test dataset (for evaluation). |
logl |
logical. Should the output be log-likelihood? |
L_intg |
logical. Should the likelihood be integrated over suitable borders? Defaults to FALSE, which uses an approximation with point-MVN density. Special care needs to be taken when integrating, as the likelihood is likely to be 0 in higher dimensions due to machine precision, resulting in non-finite log-likelihood. |
numeric vector. The (log-)likelihood for each test observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.