diag_boxpierce: Box-Pierce

Description Usage Arguments Author(s)

View source: R/portmanteau_tests.R

Description

Performs the Box-Pierce test to assess the Null Hypothesis of Independence in a Time Series

Usage

1
2
diag_boxpierce(x, order = NULL, stop_lag = 20, stdres = FALSE,
  plot = TRUE)

Arguments

x

An arima or data set.

order

An integer indicating the degrees of freedom. If 'x' is not a series of residuals, then set equal to 0.

stop_lag

An integer indicating the length of lags that should be calculated.

stdres

A boolean indicating whether to standardize the residualizes (e.g. res/sd(res)) or not.

plot

A logical. If TRUE (the default) a plot should be produced.

Author(s)

James Balamuta, Stéphane Guerrier, Yuming Zhang


SMAC-Group/simts documentation built on Nov. 16, 2018, 8:05 a.m.