Learn R Programming

dbnR (version 0.7.8)

logLik.dbn: Calculate the log-likelihood of a dynamic Bayesian network

Description

Generic method for calculating the log-likelihood of a "dbn" S3 object given some data. Calls bnlearn's logLik underneath.

Usage

# S3 method for dbn
logLik(object, dt, ...)

Value

the log-likelihood score of the network

Arguments

object

the structure of the network

dt

the dataset to calculate the score of the network

...

additional parameters for the network scoring