Negative marginal log-likelihood of the model
Arguments
- dag
an object of class
bn
from thebnlearn
package- df
a base R style dataframe
- alpha
single integer. By default, number of max levels in
df
References
Cowell, R. G., Dawid, P., Lauritzen, S. L., & Spiegelhalter, D. J. (2006). Probabilistic networks and expert systems: Exact computational methods for Bayesian networks. Springer Science & Business Media.
Cowell, R. G., Verrall, R. J., & Yoon, Y. K. (2007). Modeling operational risk with Bayesian networks. Journal of Risk and Insurance, 74(4), 795-827.