BookmarkSubscribeRSS Feed

Loving the SAS Visual Forecasting 8.5 Forecast Viewer!

Started ‎03-27-2020 by
Modified ‎04-21-2020 by
Views 3,902

You gotta love the new Visual Forecasting Forecast Viewer. It lets you display any combination of up to 16 individual forecasts with a plethora of viewing options that let you view:

  • Every time series subseries down at the lowest level of a hierarchy
  • Actual data
  • Predicted model
  • Confidence intervals
  • Envelope plots

To access Visual Forecasting, we go to the Model Studio interface.

 

1.png

Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.

 

For this article, we have two sets of data:

From the Pipelines page, we right click our model node (in our case below, the Auto-forecasting node), and select Forecast viewer.

 

2.png

 

Below we view our longterm data from 1750. Our default screen with a single time series looks like the image below, where:

  • Blue circles are the actual data points
  • Blue line is the predicted value based on the model
  • Vertical black line shows where the historic data end and the forecast begins
  • Blue shaded area shows the 95% confidence interval around the forecast

3.png

 

This looks quite similar to the Visual Analytics forecasting object for the same data, as shown below.

 

4.png

 

5.png

 

In Visual Forecasting, however, we can show many forecasts at one time (up to 16 series) and we have many options to show/hide aspects of the graph. Notice the pink buttons that read Actuals, Predicted, and Confidence limit. These are toggles that let you show/hide each of these items.

 

6.png

 

For example, we can deselect the Predicted button to show only the actual data points as shown below.

 

7.png

 

Or we can show both Actual and Predicted without Confidence limits, as shown below.

 

8.png

 

Or we can show Predicted and Confidence limits, without the Actual data points, as illustrated in the following image.

 

9.png

 

Or we show all three.

 

10.png

 

We see also a button to show the Overflow axis, which appears at the bottom of our screen.

 

11.png

 

From the Forecast Viewer, we can select the Modeling tab, to see what model was used and the MAPE (mean absolute percent error) of that model.

 

12.png

 

We can also use the icon to make our graph full screen.

 

13.png

 

And we can download our data, which will create a comma-separated values (.csv) file.

 

14.png

 

15.png

 

16.png

 

Finally, we can toggle on and off envelope plots.

 

x.png

 

BUT! If we have only one series, there are no envelope plots, so this does nothing!

 

18.png

 

So let’s use our 1950 to 2020 World Population data set with multiple series to see how this works. Below we have female and male population totals by region from 1950 to 2020 with the envelope plots toggled on for both:

  • actual values in teal
  • predicted (forecasted) values in yellow

19.png

 

As the legend indicates:

  • Lightest shading = range of the data
  • Medium shading = two standard deviations from the mean
  • Darkest shading = one standard deviation from the mean
  • Dotted gray line = Mean

20.png

 

We can select some of our series to view as shown below.

 

21.png

 

We can toggle off the envelope plots for the actual data points, if we wish to, leaving only the envelope plot for the predicted values.

 

22.png

 

It might also make sense to toggle off the Actuals values, so that we only see the

 

Predicted lines.

 

23.png

 

We can toggle off the envelope plots entirely, and look just at female populations in Europe (blue), Latin American (gold) and North America (purple).

 

24.png

 

We can play around with any combination.  Below I show North American female (gold) and male (purple) populations.

 

25.png

 

You may notice that I cannot see grouped levels of the hierarchy in the Forecast Viewer; I always see the individual series at the lowest level. However, I can see these grouped levels in my Overrides tab. For example, below I see the data and forecast for African and Asian female populations combined.

 

26.png

 

Much thanks to Joe Katz for his assistance and information!

Summary

The Forecast Viewer in SAS Visual Forecasting 8.5 makes it easy to visualize any of the series in your analysis with our without envelope plots or confidence intervals, and you can choose to show only actual data or predicted data or both. This helps the data scientist see what is going on with individual series; extremely helpful in interpreting data and modeling results.

 

These same features are available in the time series viewer, which shows the data up until the forecast period.

Perspective

The world human population was about 1.8 billion when my grandmother was born in Baltimore in 1915. At that time television hadn’t been invented and even radio news programs did not exist.

 

27.png

 

By the time I was born in 1961, the population had climbed to over 3 billion. And now it’s approaching 8 billion!

 

The layout of streets of Washington, DC was designed in 1791 by Major Pierre Charles L’Enfant. There were a little over 6,000 people in Washington at that time. The current population exceeds 700,000. I’m pretty sure most of them are all on the same road I’m on, on my commute.

 

28.png

 

DATA SOURCES

Watch this demo of the SAS Visual Forecasting 8.5 Forecast Viewer.

Comments

Hello!

 

In the above blog it says that you can see the models generated. You can see only the name of the model as shown in the screenshot or also the parameters of each model e.g. coefficients of the exogenous variables, AR, MA terms etc.

 

Thanks in advance,

 

 

Andreas

thank you very much for posting this. This is very useful..

Results that are readily available from the SAS Visual Forecasting 8.5 Model Studio interface include the Model Label in the OUTSELECT table and the Number of Model Parameters in the OUTSTAT table.  However, the Model Studio interface in SAS Visual Forecasting 8.5 does not by default create the table of the parameter estimates for each of the champion models for each BY group. To see how to create the table of parameters, called OUTEST, check out David Shannon’s blog https://communities.sas.com/t5/SAS-Communities-Library/Exporting-pluggable-modeling-node-results-tab....  The blog also shows how to export the parameter estimates table to SAS Visual Analytics and SAS Studio.

Version history
Last update:
‎04-21-2020 03:40 PM
Updated by:

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags