| analyze_series | R Documentation |
A lightweight, no-model-fitting heuristic: measures trend/seasonal
strength (via STL decomposition), differencing needed
(forecast::ndiffs/nsdiffs), missing-data ratio, and a Box-Jenkins
ACF/PACF-based (p,q)(P,Q) order suggestion. Feeds recommend_model()'s
scoring and the app's suggested-hyperparameters table.
analyze_series(df, date_agg = "day", robust = FALSE)
df |
A tibble with |
date_agg |
Aggregation frequency: one of |
robust |
Logical; use robust (outlier-downweighted) STL when a
seasonal decomposition is attempted internally. Default |
A list with n_obs, detected_freq, n_cycles,
trend_strength, seasonal_strength, ndiffs_needed,
nsdiffs_needed, missing_ratio, arima_p, arima_q, arima_P,
arima_Q.
df <- tibble::tibble(ds = as.Date("2024-01-01") + 0:29, y = 1:30 + rnorm(30))
analyze_series(df, date_agg = "day")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.