Description Usage Arguments Value See Also
This function predicts based on the estimation of the FA
model train_FA
.
1 | pred_FA(tr_fa, gp_test, test, logl = T, L_intg = F)
|
tr_fa |
An object resulting from |
gp_test |
vector. Groups for each observation. |
test |
data frame. Test data set for evaluation. |
logl |
logical. Return log-likelihood? Defaults to TRUE. |
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.