Description Usage Arguments Value
Computes several likelihood-based score for a given Tweedie Bayesian Network: the log-likelihood, the Akaike Information Criterion (AIC) and the Bayesian Information Criterion (BIC).
1 | scores.tbn(beta, phi, p, X)
|
beta |
a matrix of the Tweedie Bayesian network coefficients. |
phi |
a vector of dispersion parameters. |
p |
a vector of power parameters. |
X |
a data frame containing the variables in the model. |
This function returns a named list consisting of the Tweedie Bayesian network scores: Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC) and the log-likelihood (ll).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.