breusch_godfrey: Breusch-Godfrey Test

View source: R/lm.R

breusch_godfreyR Documentation

Breusch-Godfrey Test

Description

Breusch-Godfrey test for higher-order serial correlation.

Usage

breusch_godfrey(x, ...)

## S3 method for class 'TSLM'
breusch_godfrey(x, order = 1, type = c("Chisq", "F"), ...)

Arguments

x

A model object to be tested.

...

Further arguments for methods.

order

The maximum order of serial correlation to test for.

type

The type of test statistic to use.

See Also

lmtest::bgtest()


fable documentation built on March 31, 2023, 8:13 p.m.