Description Usage Arguments Value See Also
This function predicts based on the estimation of the gFA
model train_gFA
.
1 | test_gFA(tr_fa, gp_test, test, logl = T, L_intg = F)
|
tr_fa |
An object resulting from |
gp_test |
A vector of groups for each observation. |
test |
data frame. Test data set for evaluation. |
L_intg |
logical. Should the likelihood be integrated across suitable borders? Defaults to FALSE, which uses an approximation with 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. |
A list.
predictions |
A numeric vector of predictions for all observations in the test set. |
log_lik |
A numeric vector of log-likelihoods for all observations in the test set. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.