Skip to content

anofox-forecast

Runs live in the browser Native: community extension and full toolkit

anofox-forecast — forecasts with prediction intervals (ETS, ARIMA, Theta, global models, ensembles), backtests, conformal intervals, decompositions, changepoints, periods and residual tests.

INSTALL anofox_forecast FROM community;
LOAD anofox_forecast; LOAD anofox_visualization;

A forecast table plots as returned; decompositions and backtests too:

CREATE TABLE fc AS
SELECT * FROM ts_forecast_by('s', id, ds, y, 'AutoETS', 14, '1d', MAP{'seasonal_period': '7'});
SELECT id, anofox_plot_prediction(f) FROM fc f GROUP BY id; -- forecast with bands, per series
SELECT anofox_plot_decomposition(t)
FROM ts_mstl_decomposition_by('s', id, ds, y, MAP{'seasonal_periods': '[7]'}) t WHERE id = 'B';
Output Plotted by
ts_forecast_by, ts_forecast_panel_by, ts_cv_forecast_by, conformal anofox_plot_prediction
decompositions (MSTL, …) anofox_plot_decomposition
CV splits anofox_plot_cv
changepoints, anomalies anofox_plot_events, events := on a prediction
metrics anofox_plot_summary

anofox_plot(t) picks the macro from the table’s columns. The macros are aggregates: GROUP BY gives one SVG per group.

In a dashboard, draw the same forecast with roles: ds ::XAXIS, y ::SCATTER, yhat ::LINECHART, yhat_lower ::BAND_LOWER, yhat_upper ::BAND_UPPER — see Models and forecasts.

anofox-forecast ships a Claude Code plugin: skills that know its SQL API, so an assistant writes the ts_forecast_by, backtest and diagnostics queries from a plain request. The results then plot as above.

/plugin marketplace add DataZooDE/anofox-forecast
/plugin install anofox-forecast@anofox-forecast

Every producer of the extension’s latest build is plotted on every push (scripts/forecast_conformance.py): a SQL error, a missing SVG or a producer without a recipe fails the run. Reference →