Learn R Programming

GNAR (version 1.0)

BIC.GNARfit: Bayesian Information Criterion for GNAR models

Description

Function calculating BIC for GNARfit models.

Usage

# S3 method for GNARfit
BIC(object, ...)

Arguments

object

a GNARfit object, output from a GNARfit call.

...

additional arguments, not used here.

Value

A numeric value corresponding to the BIC.

Details

Smaller BIC values correspond to better fit.

Examples

Run this code
# NOT RUN {
#BIC for two different GNAR fits for fiveNet data
#GNAR(2,[1,1])
BIC(GNARfit())
#GNAR(2,[1,0])
BIC(GNARfit(betaOrder=c(1,0)))
# }

Run the code above in your browser using DataLab