I have 4 years of data starting from 2014-Jan to 2017-Dec, I am trying to extract seasonality component from that series, to do this I am using decompose function in R, one of the parameters to decompose function is type of time series, but I am not able to visually tell if it si additive or multiplicative

Time Series Sales plot of retailer

What happens if I don't pass any parameter to decompose function, in the help function there is no default parameter mentioned

I decomposed the ts by trying both additive and multiplicative seasonality type, but don't see much variation

Additive Time Series decomposition

Multiplicative Time series

  • $\begingroup$ The default for stats::decompose is additive, because it is the first in the list in the call in the "usage" section of the help page. This is a convention in R, used to enforce "enum"-like behavior (see match.arg). $\endgroup$ – Chris Haug Apr 11 '18 at 13:59
  • $\begingroup$ @ChrisHaug , oh, what do you think about the above series, how can I check for the nature of seasonality ? $\endgroup$ – av abhishiek Apr 11 '18 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.