Cyclic/Seasonal cubic spline

121 Views Asked by At

I would like to fit a cubic spline to a time series that is seasonal i.e. integrating the day of the year in the independent variables. I have been looking at scipy and statsmodels but I have found no examples as to how to apply them when the data is seasonal. Does anyone have an example/piece of code I could use, please?

0

There are 0 best solutions below