StationarityToolkit:Python中全面的时间序列平稳性分析
StationarityToolkit: Comprehensive Time Series Stationarity Analysis in Python
AI总结:
本文提出StationarityToolkit,一个Python库,提供10种统计检验方法,涵盖趋势、方差和季节性,帮助用户详细诊断时间序列的平稳性问题。
摘要:
时间序列平稳性是指统计特性如趋势、方差和季节性在时间上保持恒定的性质。它被认为是许多预测和分析方法的基础。不同的检验方法检测不同类型非平稳性:结构性断裂或确定性趋势、聚类或时间依赖性方差、随机或确定性季节性。一个序列可能通过一个检验而失败另一个;单次检验方法很少区分概念上不同的非平稳类型,需要不同类型的检验和转换。StationarityToolkit通过提供一个全面的Python库来解决这个问题,该库在三个类别中运行10种统计检验:趋势(4种检验)、方差(4种检验)和季节性(2种检验)。而不是二元的平稳/非平稳判决,用户会收到每个检测的详细诊断和可操作的注释。该工具包自动推断提供的数据频率(需要日期时间索引),提供清晰的解释,包括检验统计量和p值,并支持迭代的检验-转换-再检验工作流程,这对实际数据集至关重要。
英文摘要:
Time-series stationarity is a property that statistical characteristics such as trend, variance, seasonality remain constant over time. It is considered fundamental to many forecasting and analysis methods. Different tests detect different types of non-stationarity: structural breaks or deterministic trends, clustered or time-dependent variance, stochastic or deterministic seasonality. A series might pass one test while failing another; single-test approaches seldom distinguish between conceptually different types of non-stationarity that require different types of tests and transformations. `StationarityToolkit` addresses this by providing a comprehensive Python library that runs 10 statistical tests across three categories: trend (4 tests), variance (4 tests), and seasonality (2 tests). Rather than a binary stationary/non-stationary verdict, users receive detailed diagnostics with actionable notes for each detection. The toolkit automatically infers the frequency of the data provided (requires datetime index), provides clear interpretations with test statistics and p-values, and supports an iterative test-transform-retest workflow essential for real-world data sets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。