Time Series Analysis in Power BI
Kevin Barlow
Data Analytics Professional
Prediction is a more sophisticated analytic technique, allowing us to try and gain knowledge about what will happen, not just what has happened.
Forecasting
Industry Examples
Hindcasting
Industry Examples
Forecasting takes historical data and attempts to predict values for future dates.
Take a look at the following table:
date | value |
---|---|
January 1 | 5 |
January 2 | 10 |
January 3 | 15 |
January 4 | |
January 5 |
By using the overall trend of our data, we can relatively reliably predict what we think the next values should be. This is an example of a linear regression.
date | value |
---|---|
January 1 | 5 |
January 2 | 10 |
January 3 | 15 |
January 4 | 20 |
January 5 | 25 |
Time series data is often messy and can be problematic to forecast unless "cleaned" up.
Exponential Smoothing is a technique to "smooth out" the noise in data.
With any forecast, there is going to be an error because we don't have actual data for those dates!
Confidence Intervals - provide a range of estimates that the data will fall into with an assumed level of confidence (%)
Power BI allows you to configure how much confidence you want in forecasts.`
We will practice forecasting on some stock data for Microsoft (ticker: MSFT). The data includes basic information on the stock's trading price on a given day.
Time Series Analysis in Power BI