I want to strip out seasonality from a ts. This particular ts is daily, and has both yearly and weekly seasonal cycles (frequency 365 and 7).
In order to remove both, I have tried conducting stl() on the ts with frequency set to 365, before extracting trend and remainders, and setting the frequency of the new ts to 7, and repeat.
This doesn't seem to be working very well and I am wondering whether it's my approach, or something inherent to the ts which is causing me problems. Can anyone critique my methodology, and perhaps recommend an alternate approach?
Check if this is useful:
Start and End Values depends on your Data - Change the Frequency values accordinglyadditive trend, seasonal, and irregular components can be decomposed using the stl() Functionvi should give seperate values for a seasonal indices
Also Check the below one: