Mresid: Time series forecast residual analysis

Description Usage Arguments See Also Examples

Description

Compute six residual test on a forecast object an return its p.values. The null hypothesis that the residual don't have the tested characteristic. If p.value is > 5% we reject null.

Usage

1
Mresid(fit)

Arguments

forecast

object of class forecast

See Also

See Box.test, t.test, LB.test, jarque.bera.test, bptest and dwtest for more information about the tests.

Examples

1
2
3
4
fcnm <- forecastMethod(lynx)
fun <- get(fcnm[[1]])
fit <- fun(AirPassengers, h=10, onlyfc = FALSE)
Mresid(fit)

evandeilton/cvforecast documentation built on May 16, 2019, 9:36 a.m.