statsmodels.tsa.seasonal.DecomposeResult

class statsmodels.tsa.seasonal.DecomposeResult(observed, seasonal, trend, resid, weights=None)[source]

用于季节性分解的结果类

Parameters:
observedarray_like

已被分解的数据序列。

seasonalarray_like

数据系列的季节性成分。

trendarray_like

数据系列的趋势成分。

residarray_like

数据系列的残差部分。

weightsarray_like, optional

用于减少异常值影响的权重。

Attributes:
nobs

观测数量

observed

观测数据

resid

估计的残差

seasonal

估计的季节性成分

trend

估计的趋势成分

weights

在稳健估计中使用的权重

方法

plot([observed, seasonal, trend, resid, weights])

绘制估计的成分

属性

nobs

观测数量

observed

观测数据

resid

估计的残差

seasonal

估计的季节性成分

trend

估计的趋势成分

weights

在稳健估计中使用的权重


Last update: Oct 16, 2024