get_best_model: get_best_model

Description Usage Arguments Value

View source: R/predict_data.R

Description

Find the best model between the implemented one: 'base', 'snaive', 'ets', arima'. The best model is the one with the lowest residuals

Usage

1
get_best_model(ts_data, train_window)

Arguments

ts_data

(dataframe): an events dataframe

train_window

(numeric): the number of days prior to the last observation to use for training

Value

a list with model_name, model_fit and standard_error base', # base is currently disabled


theasjblog/covid19_package documentation built on May 2, 2021, 8:11 p.m.