A Python library for lightning-fast univariate time series forecasting with optimized statistical and econometric models.
StatsForecast is a Python library for lightning-fast univariate time series forecasting using statistical and econometric models. It provides optimized implementations of models like AutoARIMA, ETS, CES, and Theta, designed to be significantly faster and more accurate than existing alternatives. The library solves the problem of slow and inefficient forecasting in Python, enabling scalable analysis on millions of time series.
Data scientists, analysts, and engineers who need to perform high-volume, production-grade time series forecasting or require efficient benchmarks for model comparison. It's particularly valuable for those working with large collections of univariate series.
Developers choose StatsForecast for its exceptional speed and accuracy, often outperforming popular libraries like pmdarima, statsmodels, and Prophet by orders of magnitude. Its unique selling point is the combination of a comprehensive model battery with out-of-the-box scalability for distributed computing frameworks.
Lightning ⚡️ fast forecasting with statistical and econometric models.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmarks show it's 20x faster than pmdarima and 500x faster than Prophet, making it ideal for production and large-scale use.
Offers out-of-the-box compatibility with Spark, Dask, and Ray, capable of fitting millions of series efficiently in distributed environments.
Includes a wide range of models like AutoARIMA, AutoETS, MSTL, and Theta, catering to various time series characteristics such as multiple seasonalities or intermittent demand.
Provides prediction intervals and confidence intervals for uncertainty quantification, useful for anomaly detection and risk assessment.
Focuses solely on univariate time series, so it cannot handle multivariate forecasting without significant extensions or additional tools.
As shown in the model table, some key models like AutoETS and AutoCES lack support for exogenous variables, limiting flexibility in certain use cases.
While scalable, integrating with frameworks like Spark or Ray requires additional configuration and infrastructure knowledge, which can be a barrier for beginners.
statsforecast is an open-source alternative to the following products:
pmdarima is a Python library that provides statistical models for time series forecasting, including ARIMA, SARIMA, and other seasonal models, built on top of statsmodels.
Prophet is a forecasting procedure implemented in R and Python for time series data with seasonality and holiday effects, developed by Facebook's Core Data Science team.
statsmodels is a Python module that provides classes and functions for the estimation of many different statistical models, as well as for conducting statistical tests and statistical data exploration.