This function will return the results of a hypothesis test for each model in the mable.

# S3 method for mdl_df
hypothesize(x, ...)

# S3 method for mdl_ts
hypothesize(x, tests = list(), ...)

Arguments

x

A mable.

...

Arguments for model methods.

tests

a list of test functions to perform on the model

Examples

library(fable)
library(tsibbledata)

olympic_running %>%
  model(lm = TSLM(log(Time) ~ trend())) %>% 
  hypothesize()
#> # A tibble: 0 × 3
#> # ℹ 3 variables: Length <int>, Sex <chr>, .model <chr>