'In Seasonal Decompose Seasonal plot seems off

When I decompose my time-series Seasonal plot looks like this, what have I could do wrong? Here is code that i used for decomposition

import statsmodels.api as sm

decomposition = sm.tsa.seasonal_decompose(temp_df['depth_to_groundwater'], model='additive', freq=12)

fig = decomposition.plot()
fig.set_figwidth(12)
fig.set_figheight(8)
fig.suptitle('Decomposition of time series')
plt.show()

Talking about my time series data it is negative, , maybe it could have influenced the plot enter image description here



Solution 1:[1]

Try to increase your freq. 12 is probably too low for your model. A freq like 365 would solve it

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sophia Vei