statsmodels.tsa.seasonal.DecomposeResult¶
- class statsmodels.tsa.seasonal.DecomposeResult(observed, seasonal, trend, resid, weights=None)[source]¶
Results class for seasonal decompositions
- Parameters:
- observednumpy:array_like
The data series that has been decomposed.
- seasonalnumpy:array_like
The seasonal component of the data series.
- trendnumpy:array_like
The trend component of the data series.
- residnumpy:array_like
The residual component of the data series.
- weightsnumpy:array_like,
optional
The weights used to reduce outlier influence.
- Attributes:
Methods
plot
([observed, seasonal, trend, resid, weights])Plot estimated components
Properties
Number of observations
Observed data
The estimated residuals
The estimated seasonal component
The estimated trend component
The weights used in the robust estimation