Description Usage Arguments Value
Get the residuals of a model. We use this metric to decide the best model (lower residual is better). Future implementations might include AIC
1 | get_residuals(model_name, ts_data)
|
model_name |
(character): The name of the model to use. One of 'base', 'snaive', 'ets', arima'. NOTE: 'base' currently disabled due to poor of accuracy |
ts_data |
(dataframe): an events dataframe |
a list with model_name, model_fit and standard_error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.