Objective Hierarchy
Suppose you want to forecast the demand for your firm’s particular product. What are some variables that might influence it? This is the type of question one asks in trying to model the business situation. Demand drives your entire supply chain – from inventory to distribution to manufacturing and so on. As a business, you want to be able to forecast your demand for the coming period in order to meet your customer needs. All of these will eventually involve interactions with the suppliers and customers. A careful demand planning will not only allow the company to maximize profits and position the company for growth, but it will also help plan short-term and long-term by maintaining durable relationships with their partners. Forecasting demand for your product is necessary to enable your firm to plan its operations (marketing, finance, and manufacturing).
The purpose of this exercise is to become familiar with simple forecasting tool based on statistical analysis of demand history and causal factors such as pricing, advertising and so on. Better demand planning helps you increase forecast accuracy and production efficiency so you can lower your inventory and dramatically improves customer service. The model in this exercise is simple enough to illustrate some of the causes that explain the level of one firm’s demand. It involves the use of time series analysis (here we use CB Predictor), which is a forecasting method that uses historical data to extrapolate some future values in order to create the basis for decision-making. In addition to that, Regression analysis is used to estimate the relationships between variables so that a given variable can be predicted from one or more other variables. These analyses enable us to forecast the next 4 periods for the following variables: Average Demand, Average Price, Average Advertising and Average R&D Expenditure. Then we can create an equation that ultimately predicts the Normalized Share of Market Demand, the dependent variable.
Let us say that the primary objective of the firm is to maximize profit. The following is a graphical representation of the business model that leads to profitability:
Follow this link to find out what each of the node shapes above mean: Influence Diagrams
Variables and Attributes
Demand is expressed as:
Firm Demand = Average Firm Demand (AFD) x Normalized Share of Market (NSOM)
The following two tables describe the variables used to model the demand for the firm.
Time Series Forecasting |
||
Variable |
How Measured |
Related to |
Period |
In numerical order |
N/A |
Season
|
Quarter (1st, 2nd, 3rd, 4th) |
Time of the year |
Average Demand (Avg_Dem) |
Units demanded |
Total demand divided by the number of firms in the industry. Dependent on economy, industry, and competitive forces. |
Average Price (Avg_Price) |
Price in $ |
Total sales divided by units sold
|
Average Advertising (Avg_Adv) |
Amount of money spent (in $) |
Total advertising expenditures divided by number of firms in the industry |
Average Advertising (t-1) (Avg_Adv1) |
Amount of money spent (in $) |
Last quarter’s total advertising expenditures divided by number of firms in the industry |
Average Advertising (t-2) (Avg_Adv2) |
Amount of money spent (in $) |
Last two quarters’ total advertising expenditures divided by number of firms in the industry |
Average R&D (t-1) (Avg_RD1) |
Amount of money spent (in $) |
Last quarter’s advertising expenditures divided by number of firms in the industry |
Average R&D (t-2) (Avg_RD2) |
Amount of money spent (in $) |
Last two quarters’ total advertising expenditures divided by number of firms in the industry |
Regression Analysis |
||
Variable |
How Measured |
Related to |
Quarter |
1, 2, 3, 4 |
Time of the year |
Firm
|
Number |
Firm identifier |
Normalized Share of Market (NSOM) |
Ratio |
Measure of Relative Demand (Firm demand divided by Industry average demand) |
Relative Price (Prel) |
Ratio |
Firm Price divided by Industry Average Price |
Relative Advertising Expenditure (Arel) |
Ratio |
Firm Advertising divided by Industry Average |
Last quarter’s Normalized Share of Market (NSOM1) |
Ratio |
Measure of brand loyalty |
Last quarter’s Relative Advertising Expenditure (Arel1) |
Ratio |
Firm’s last quarter advertising expenditure divided by average advertising expenditure of the industry for the previous quarter |
Relative Advertising Expenditure from 2 quarters ago (Arel2) |
Ratio |
Firm’s advertising expenditure two quarters ago divided by the average industry advertising expenditure two quarters ago |
Last quarter’s Relative R&D Expenditure (Rrel1) |
Ratio |
Firm’s last quarter R&D expenditure divided by average advertising expenditure of the industry for the previous quarter |
Relative R&D Expenditure from 2 years ago (Rrel2) |
Ratio |
Firm’s R&D expenditure two quarters ago divided by the average industry R&D expenditure two quarters ago |
Influence Diagram
This influence diagram below is a graphical representation of the endogenous and exogenous factors that influence the average firm demand of a particular product.
Mathematical Representation
Average Firm Demand (AFD)
To model this, we need to understand that AFN is influenced by two factors: one is exogenous and the other one is endogenous. This means that the AFD is a function of the trend of the average industry demand and residual that is affected by some independent variables such as average industry prices, average industry advertising, etc. The equation follows that AFN = fitted Trend (Seasonality factored in) + Residual.
First of all, we need to run a trend analysis on each of the following series: Avg_Dem, Avg_Price, Avg_Adv, Avg_Adv1, Avg_Adv2, Avg_RD1 and Avg_RD2. The last 4 series (Avg_Adv, Avg_Adv1, Avg_Adv2, Avg_RD1 and Avg_RD2) are called lagged variables. A lagged variable is simply the value of an independent variable during the previous period. A two period lag means look at the value of the variable two periods back. To perform time series analysis, CB Predictor is used to select the best method for each of the seven series. Then, CB predictor forecasts the next 10 periods for each of those series. The figure below shows that the Holt-Winters’ Multiplicative Method is the best to perform the trend for Average Demand (Series 1) because of the lowest errors (RMSE, MAD, and MAPE). To see the various models assigned to the series, click here to get the spreadsheet.
RMSE (Root mean squared error): This is an absolute error measure that squares the deviations to keep the positive and negative deviations from canceling each other out. This measure also tends to exaggerate large errors, which can help when comparing methods.
MAD (Mean absolute deviation): This is an error statistic that average distance between each pair of actual and fitted data points.
MAPE (Mean absolute percentage error): This is a relative error measure that uses absolute values to keep the positive and negative errors from canceling each other out and uses relative errors to let you compare forecast accuracy between time-series models
Here’s the chart that shows the trend:
Holt-Winters’ Multiplicative Method accounts for seasonality of 4 quarters. As can be seen from the graph above, the difference between the actual (green) and fitted (blue) data is the residual.
Series |
Avg_Dem |
|
||||
|
||||||
|
Data |
|
|
|
|
|
Date |
Historical Data |
Lower: 5% |
Fit & Forecast |
Upper: 95% |
Residuals |
|
3 |
1202 |
|
1203.143752 |
|
-1.143751948 |
|
4 |
1482 |
|
1254.296544 |
|
227.7034564 |
|
5 |
1814 |
|
1844.02667 |
|
-30.02666965 |
|
6 |
1261 |
|
1765.725351 |
|
-504.7253513 |
|
7 |
1840 |
|
1465.181335 |
|
374.8186651 |
|
8 |
1758 |
|
1580.082495 |
|
177.9175055 |
|
9 |
2227 |
|
2269.662569 |
|
-42.66256874 |
|
10 |
2174 |
|
2150.926306 |
|
23.07369427 |
|
11 |
1438 |
|
1867.617144 |
|
-429.6171437 |
|
12 |
1739 |
|
1828.439907 |
|
-89.43990666 |
|
13 |
2580 |
|
2536.718803 |
|
43.28119734 |
|
14 |
2839 |
|
2408.66179 |
|
430.3382102 |
|
15 |
1643 |
|
2144.274723 |
|
-501.2747226 |
|
16 |
1196 |
|
2087.163939 |
|
-891.1639392 |
|
17 |
2306 |
|
2684.702167 |
|
-378.7021673 |
|
18 |
2441 |
|
2472.216543 |
|
-31.21654323 |
|
19 |
2358 |
|
2124.939128 |
|
233.0608724 |
|
20 |
2505 |
|
2201.218722 |
|
303.7812782 |
|
21 |
3285 |
|
3137.007349 |
|
147.9926514 |
|
22 |
3038 |
|
2973.709117 |
|
64.29088335 |
|
23 |
2395 |
|
2556.845436 |
|
-161.8454362 |
|
24 |
|
1987.906272 |
2553.319123 |
3118.731974 |
|
|
25 |
|
2939.609639 |
3534.781061 |
4129.952484 |
|
|
26 |
|
2682.820848 |
3311.057349 |
3939.293851 |
|
|
27 |
|
2161.930425 |
2827.122015 |
3492.313605 |
|
|
28 |
|
2141.367956 |
2848.13402 |
3554.900084 |
|
|
29 |
|
3177.584374 |
3931.468176 |
4685.351977 |
|
|
30 |
|
2864.764119 |
3672.496763 |
4480.229408 |
|
|
31 |
|
2257.670084 |
3127.536008 |
3997.401933 |
|
|
32 |
|
2200.594164 |
3142.948916 |
4085.303668 |
|
|
33 |
|
3300.131924 |
4328.15529 |
5356.178656 |
|
|
Next, we use the residual data (from period 3 to 23) as a dependent variable and regress it against the independent variables (Avg_Price, Avg_Adv, Avg_RD) to see which of these variables were significant in the prediction. To perform this, we can use Regression tool from Excel Data Analysis. This involves several steps. The first step is to include the three series as the Input X Range (independent variables). Then we look at the P-values of each of those independent variables to determine which one has the highest value. The highest P-value means it is the most insignificant in predicting the dependent variable. The highest P-value in this case is 0.112623885. This variable needs to be removed from the calculation. Before that, I have set the P-value of <= .10 as a useful predictor of the dependent variable.
|
Coefficients |
Standard Error |
t Stat |
P-value |
Lower 95% |
Upper 95% |
Lower 95.0% |
Upper 95.0% |
Intercept |
18061.6527 |
2078.142593 |
8.691248021 |
1.16011E-07 |
13677.14896 |
22446.15643 |
13677.14896 |
22446.15643 |
Avg_Price |
-49.80869298 |
5.421187487 |
-9.187782769 |
5.27969E-08 |
-61.24641477 |
-38.3709712 |
-61.24641477 |
-38.3709712 |
Avg_Adv |
0.003109686 |
0.001235458 |
2.517030941 |
0.022160971 |
0.000503094 |
0.005716278 |
0.000503094 |
0.005716278 |
Avg_RD |
0.010601429 |
0.006336705 |
1.673019204 |
0.112623885 |
-0.002767868 |
0.023970726 |
-0.002767868 |
0.023970726 |
We run the regression again, but this time, with the Avg_Price and Avg_Adv as the independent variables. This final regression confirms that those two independent variables are significant in the prediction. The R-square value is 0.865175165, meaning that approximately 87% of the variation in Residual is explained by variation in both Average Advertising and Average R&D Expenditure.
Regression Statistics |
|
|
|
|
|
|
|
|
Multiple R |
0.930147926 |
|
|
|
|
|
|
|
R Square |
0.865175165 |
|
|
|
|
|
|
|
Adjusted R Square |
0.850194628 |
|
|
|
|
|
|
|
Standard Error |
128.3465902 |
|
|
|
|
|
|
|
Observations |
21 |
|
|
|
|
|
|
|
|
Coefficients |
Standard Error |
t Stat |
P-value |
Lower 95% |
Upper 95% |
Lower 95.0% |
Upper 95.0% |
Intercept |
18278.20932 |
2175.286954 |
8.40266581 |
1.20931E-07 |
13708.09747 |
22848.32116 |
13708.09747 |
22848.32116 |
Avg_Price |
-49.71714941 |
5.685355236 |
-8.744774487 |
6.74458E-08 |
-61.66164678 |
-37.772652 |
-61.66164678 |
-37.77265205 |
Avg_Adv |
0.003595112 |
0.001259486 |
2.854427282 |
0.010530935 |
0.000949027 |
0.006241196 |
0.000949027 |
0.006241196 |
The equation for the residual = 18278.20932 -49.71714941 (Avg_Price) + 0.003595112 (Avg_Adv).
Normalized Share of Market (NSOM)
In order to predict the NSOM, we run the regression on the nsom spreadsheet data. We found that all variables are significant. Here’s the result:
Regression Statistics |
|
|
|
|
|
|
|
|
Multiple R |
0.993207601 |
|
|
|
|
|
|
|
R Square |
0.986461339 |
|
|
|
|
|
|
|
Adjusted R Square |
0.985910347 |
|
|
|
|
|
|
|
Standard Error |
0.03190622 |
|
|
|
|
|
|
|
Observations |
180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ANOVA |
|
|
|
|
|
|
|
|
|
df |
SS |
MS |
F |
Significance F |
|
|
|
Regression |
7 |
12.75802658 |
1.822575225 |
1790.33686 |
4.339E-157 |
|
|
|
Residual |
172 |
0.175097182 |
0.001018007 |
|
|
|
|
|
Total |
179 |
12.93312376 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Coefficients |
Standard Error |
t Stat |
P-value |
Lower 95% |
Upper 95% |
Lower 95.0% |
Upper 95.0% |
Intercept |
15.94723159 |
0.259761394 |
61.39184634 |
6.7113E-119 |
15.43450063 |
16.45996256 |
15.43450063 |
16.45996256 |
Prel |
-16.79336984 |
0.255932657 |
-65.61636184 |
1.1436E-123 |
-17.29854344 |
-16.28819624 |
-17.29854344 |
-16.28819624 |
Arel |
0.7312239 |
0.015568958 |
46.9667847 |
5.0441E-100 |
0.700493056 |
0.761954744 |
0.700493056 |
0.761954744 |
NSOM1 |
0.444773948 |
0.011004677 |
40.41680965 |
9.83333E-90 |
0.423052326 |
0.466495571 |
0.423052326 |
0.466495571 |
Rrel1 |
0.178938881 |
0.026025688 |
6.875471742 |
1.09384E-10 |
0.127567983 |
0.230309779 |
0.127567983 |
0.230309779 |
Rrel2 |
0.256960344 |
0.017241801 |
14.90333562 |
8.68077E-33 |
0.222927553 |
0.290993135 |
0.222927553 |
0.290993135 |
Arel1 |
0.152087781 |
0.027751864 |
5.480272633 |
1.49013E-07 |
0.097309664 |
0.206865898 |
0.097309664 |
0.206865898 |
Arel2 |
0.079412054 |
0.017024876 |
4.664471878 |
6.19055E-06 |
0.045807442 |
0.113016667 |
0.045807442 |
0.113016667 |
The mathematical equation for the Residual Model:
NSOM = 15.94723159 -16.79336984 (Prel) + 0.7312239 (Arel) + 0.444773948 (NSOM1) + 0.178938881 (Rrel1) + 0.256960344 (Rrel2) + 0.152087781 (Arel1) + 0.079412054 (Arel2)
Using all the models from the time series forecasting (trend), AFD residuals and NSOM, a DSS interface model can be developed.
DSS Interface:
Testing & Validation
This model is designed to calculate the output values for the next 10 periods (period 24 to 33). If the period of higher than 33 is used as input, an error message will appear and no value will result in the output section. The Firm Inputs section tells you about the variables that your firm can control. You will be able to see the effect of over pricing or under pricing on your firm demand. For example, you will lose your market share if you overcharged the price of your product. For the period 24 to 33, the Industry Input values are the forecasted values. Click here to find out the calculations used to produce the output results (click on Calc tab in the spreadsheet)
Implementation & Use
Good Demand Planning provides the corporate management with an effective tool to better manage and optimize the financial and operational performance of their inventory investment. The model we have just seen above could be used as a model within a larger model that interacts with every aspects of business decision making. One good example is that, by changing the inputs in the demand module, it will not only produce the output for the demand, but also the effect on the firm’s financial statements. Essentially, management has to be able to use a powerful system that can meet the objective of the organization, for example, to increase profits by simultaneously maximizing customer service levels, minimizing total annual costs, reducing workloads and reducing inventories. We know that one of the most important aspects of Demand Planning is that all of the departments within a company that use some kind of demand forecast can operate essentially using the same data as every other department. Given that the departments within a corporation can easily work together to obtain a reasonable operating plan, financing and investment plans can also be developed to meet the overall objective of the organization. After all, profit will be determined by the sales revenues and the expenses engaged for R&D and plant construction and so on that involves financing and investment planning.