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