View source: R/suggest_params.R
| suggest_parameters | R Documentation |
Derives starting-point hyperparameters from analyze_series()'s
diagnostics rather than fitting a grid of candidates. These are informed
starting points, not optimal values – for ARIMA/SARIMA, auto.arima()
still searches the order space better than this heuristic; the
suggested p/q matter mainly for hand-tuning, while d/D come
straight from ndiffs()/nsdiffs().
suggest_parameters(analysis, model_key)
analysis |
The list returned by |
model_key |
A registry key, e.g. |
A list with params (a named list of suggested argument
values, matching that model's fit() parameters), text (a one-line
human-readable summary), and reasons (a character vector explaining
each suggestion).
df <- tibble::tibble(ds = as.Date("2024-01-01") + 0:59, y = 1:60 + rnorm(60))
suggest_parameters(analyze_series(df, "day"), "arima")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.