Any suggestions on how to forecast in VA using a week? I can calculate a week field (1 thru 52) but it appears SAS does not recognize it as a date in the forecast. Any help is appreciated!
have you tried the week function?
you should be-able to at least create a new variable containing the week value and do the forecasting.
Hi!
To be able to do forecast you need a date variable. On that variable you can assign different formats, but (at least in v7.4) there are no week format and you can't do forecast on week...
As far as I know :0
//Fredrik
One way could be to create a date variable with the value of the first day in each week, so for everyday in the week you create the date of the first day in that week.
Don't know if it is possible, but one way to solve it.
The backdraw is that you can not display the week number in the report.
//Fredrik
I had this issue (using v 7.4) and to solve it I created a data variable for the last day of the week. So in visualizations I can show both (or either) the date or the "week end date" for summaries. I could not find a way to set up weeks as summary periods for doing any periodic comparisons.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.