Skip to main content
Glama

Fincept

ARIMA / SARIMAX forecast

stats_arima
Read-onlyIdempotent

ARIMA / seasonal SARIMA with optional exogenous regressors (ARIMAX/SARIMAX), fitted by maximum likelihood, forecasting steps periods ahead with confidence intervals (series + line chart with band). Returns the coefficient table, AIC/BIC/HQIC/log-likelihood, Ljung-Box residual checks and optional fitted values. Use it as the default forecaster for one series; stats_arma_order_select picks p and q, stats_ets and stats_theta are smoothing alternatives.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yYesNumbers in order (null for a missing value), or a $fincept reference.
exogNoExogenous regressors, one row per observation of y, columns by name (e.g. rates, prices, dummies).
alphaNo1 - confidence of intervals (0.05 = 95% intervals).
datesNoOptional ISO dates, one per observation; gives forecasts and periods real dates.
orderNoNon-seasonal order [p, d, q]: AR lags, differences, MA lags.
stepsNoPeriods to forecast after the last observation (0 = none).
trendNoDeterministic terms: n none, c constant, t linear trend, ct both. Default c without differencing, n with. With estimator sarimax and d=1, c is a drift; with the other estimators use t for a drift.
estimatorNosarimax: exact Gaussian likelihood in state space (handles gaps, seasonality, regressors). arima_mle: the same likelihood as a regression with ARIMA errors. innovations_mle, hannan_rissanen: alternative ARMA estimators. burg, yule_walker: pure AR only (q=0). innovations: pure MA only (p=0).sarimax
future_exogNoRegressor values over the forecast horizon: one row per step, the same columns as exog. Required when exog is given and steps > 0.
include_fittedNoAlso return in-sample fitted values and residuals for every observation.
seasonal_orderNoSeasonal order [P, D, Q, s]: seasonal AR, seasonal differences, seasonal MA, and the period s (12 monthly, 4 quarterly, 5 or 7 daily).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
errorNo
blocksNo
statusYes
finceptYes
summaryNo
warningsNo
artifactsNo
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.