Description Usage Arguments See Also Examples
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.
1 | Mresid(fit)
|
forecast |
object of class forecast |
See Box.test
, t.test
, LB.test
, jarque.bera.test
, bptest
and dwtest
for more information about the tests.
1 2 3 4 | fcnm <- forecastMethod(lynx)
fun <- get(fcnm[[1]])
fit <- fun(AirPassengers, h=10, onlyfc = FALSE)
Mresid(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.