AQLT / ggdemetra

ggplot2 extension for seasonal and trading day adjustment with RJDemetra
https://aqlt.github.io/ggdemetra/
12 stars 3 forks source link

Weekly frequency #1

Open kamecon opened 5 years ago

kamecon commented 5 years ago

Hi!

I'm using weekly data and I define frequency = 52 in geom_sa, but I get the following error:

Warning message: Computation failed in stat_sa(): Couldn't pick automatically the frequency: you must specify manually the argument 'frequency'

Thanks!

AQLT commented 5 years ago

Hi, ggdemetra is based on RJDemetra which is based on the JDemetra+ software (https://github.com/jdemetra/jdemetra-app). For the moment, you cannot perform seasonal adjustment on weekly data with the methods implemented by JDemetra+ (X-13 and TRAMO-SEATS): you can only use monthly, bimonthly (with TRAMO-SEATS), quarterly and half-yearly data. However, by the end of 2019 the methods will be improved to be compatible with all the infra-annual frequency (weekly, daily, etc.). To conclude, for the moment you cannot use weekly data but you will be able in the future. I will also improve the error message in ggdemetra.

kamecon commented 5 years ago

Thanks @AQLT !

I hope the extensions will be available in the near future!