|
|
Custom Search
|
| Home | Excel | VBA Macro's | Data Analysis | Data Mining | Forecasting | Reporting | About Me | Contact Me |
|
Home >> Forecasting Forecasting: Before you do forecasting you need to keep one thing in mind that you predicting some value. That means your finding can not be exactly as actual values or some times may be. But you intention should always to get most closest value to actual value.
Trend Analysis and Seaonality
1. Calculate Seasonal Index
Suppose your organization sell some product in the market and your manager is interested to know about sales figures of next three months. That means how much revenue organization can generate from that product. You have previous data that shows how much revenue that product had generated in the past. You can create a chart in excel to view the sale trends and to make prediction about next quater(3 months). Trend lines helps to represent the sale trends in a graphical form using linear or non-linear regression with time. Trend can weekly, monthly, quaterly depends upon organizational needs. When we measure the trends for a particular period we can't ignore the the seasonality effect. Seasonality effect is the effect cause by season on the sale of a particular product. By analyze seasonality effect we can determine the difference between grand mean(for example 1 year) and periodic mean(lets have 2nd quater of choosen year).
So the first step is measure seasonal index for given data. Suppose we have following data.
The following formula is used to measure the seasonal index: S(i)=D(i)/D Where: The following figure shows the calculated seasonal index for each quater.
The following figure shows how to display data graphically with Polynominal trend lines. With the help of R-square value we can predicted the sale figures for next quater. So far we have not consider the seasonality effect. Thus predicted value is not acctually correctly predicted. The reason we choose here polynominal trend line is the value shown corresponding to polynominal trendline in the following figure. If R-square value is close to 1, predication has more chance to be accurate.
The following VBA Code will create Polynominal trendline into chart.
Now we can consider the seasonal effect to make better prediction. That mean we can use the seasonal index(calculated above)
to predict the values for the next quater. In the following figure you can see the total income for 1st quater for the current year and total(predicted with the help of
equation comes from trend analysis)for the next year.
To make this figure accurate we can simply multiply the predicted total with seasonal index of the current year(1st quater).
Now you can see the difference between two values 74226.9 - 52896.38 = 21330.51. So now prediction looks bit more realistic.
|
|
|
Forecasting |