dt_independence: Ljung-Box test of independence of the model residuals

View source: R/diagnostic_tests.R

dt_independenceR Documentation

Ljung-Box test of independence of the model residuals

Description

The Ljung-Box procedure implements a test against the null hypothesis of independence.

Usage

dt_independence(dlm_filtered, n_lags)

Arguments

dlm_filtered

The output from dlm::dlmFilter().

n_lags

The number of lags to consider in the test.

Value

A data.frame/tibble of the model results including a column specifying whether the assumption of independence of the residuals is satisfied.

Examples

print("Soon!")

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