statsmodels.tsa.filters.filtertools.CycleTrendResult#
- class statsmodels.tsa.filters.filtertools.CycleTrendResult(cycle, trend)[source]#
Result of
cffilter,hamilton_filter, andhpfilter: a cycle/trend decomposition.- Parameters:
- cyclearray_like
The estimated cyclical component. See the docstring of the function that produced this result for the precise definition (e.g.
hamilton_filterleaves the firstp + h - 1values asNaN).- trendarray_like
The estimated trend component, matching
cyclein shape.
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Properties