Hi,
I'm applying statsmodels.tsa.seasonal.seasonal_decompose on my time series. As I understand from the source, this method does the following:
- Calculate convolution to get trends
- Remove trends from series
- Calculate seasonal mean to get seasons
- Remove seasons to get residual.
1) Is there any way to use a different convolution function here?
2) How do I interpret the frequency?
Let's say I have a time series X(T), with sample frequency 1 per minute.
I can notice seasons at 1 day periodicity. It sort of looks like | Sine | but quite lot of randomness included.
How do I select the frequency to decompose? Is it 1 * 60 * 24 (24 hours)? How would the decomposition behave if I use for instance 1 * 60 * 40 (40 hours)?
When I use 40 hours, I am able to see approx. seasons in residual series as well.
Thank you for reading.
Surya