简体   繁体   中英

Check Seasonality in time series

I have 2 years of hourly data.I want to check seasonality . 1.Decomposing the series shows seasonality.But since Decomposition is not enough what else can i use to check seasonality in R? 2.I tried hourly seasonality , I am not sure on the period of seasonality.How to determine the frequency in R?

Frequency is the number of observations per unit of time. But, in my short experience, the unit of time depends on the event you are studying. For example, if you have monthly data of a yearly seasonal event (like the flowering of some plants) and you sampled 5 times each month, frequency will be 5*12. I suggest you decompose your time series and and check for seasonality there. You can use ts , stl and plot.stl . Try to adjust the parameters as best as you can but also try to check what happens when you change them.

Please read through below link, if you feel to keep multiple seasonal periods in data, you can also paste sample of your data here for further suggestions

https://robjhyndman.com/hyndsight/seasonal-periods/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM