Learn R Programming

dbnR (version 0.7.8)

AIC.dbn.fit: Calculate the AIC of a dynamic Bayesian network

Description

Generic method for calculating the Akaike information criterion (AIC) of a "dbn.fit" S3 object given some data. Calls bnlearn's AIC underneath.

Usage

# S3 method for dbn.fit
AIC(object, ..., k)

Value

the AIC score of the network

Arguments

object

the fitted network

...

additional parameters for the network scoring

k

the penalty parameter