get_AIC: Calculate the value of the AIC

View source: R/log_likelihood-and-aic.R

get_AICR Documentation

Calculate the value of the AIC

Description

Calculate the value of the AIC

Usage

get_AIC(log_likelihood, n_state_vars, n_hyper_params)

Arguments

log_likelihood

Numeric vector of length 1. Value of the log-likelihood function as provided by the get_log_likelihood() function.

n_state_vars

Numeric value of length 1. Number of state variables in the dynamic linear model.

n_hyper_params

Numeric value of length 1. Number of stochastic hyperparameters in the dynamic linear model.

Value

The Akaike Information Criterion (AIC) of the model.

Examples

print("Soon!")

gueyenono/dlm.helper documentation built on June 8, 2022, 7:57 p.m.