Skip to content
Prev 247161 / 398503 Next

aggredating date data

I tried a date by date forecast of a time series and it seems to be
too wild.  How can I aggregate the date into weeks or months as
required?

Thanks.

The input looks like

ID datadate("YYYY-MM-DD")  value_for_day
--     -----                                -------
--     ------                               --------

and I want to be able to change it to

ID dataweek value_for_week

or

ID datamonth value_ for_ month