Professional Documents
Culture Documents
Scope of discussion
General Forecasting
Evolution General Methods
Forecasting in Demantra
Setup and consideration
Forecast Tree Parameters Engine Definition, Types and nodes Forecasting process Advanced Analytics Causals
Forecasting Evolution
Advanced Methods
Nave Models
Nave forecasting models are based exclusively on historical observation of sales They do not explain the underlying casual relationships which produce the variable being forecasted. Advantage: Inexpensive to develop, store data and operate. Disadvantage: Do not consider any possible causal relationships that underlie the forecasted variable.
Nave models 1. To use actual sales of the current period as the forecast for the next period; then, Yt+1 = Yt 2. If we consider trends, then, Yt+1 = Yt + (Yt Yt-1)
Smoothing: Exponential
Uses weighted average of past data as the basis for a forecast. Y new = a Y old + (1-a) Y old, where,
Y new = exponentially smoothed average to be used as the forecast Y old = most recent actual data Yold = most recent smoothed forecast a = smoothing constant Smoothing constant (or weight) has a value between 0 and 1 inclusive.
Series
-1
-2
-3
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
96
1 Series 0.1
-1
-2
-3
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
96
-2
-3
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
96
4 3 2 1 0 -1 -2 -3 Series Mean
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
-4
96
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
96
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
96
Forecast
13
19
25
31
37
43
49
55
61
67
73
79
85
91
Period
97
Forecast
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
96
Period
101
Forecast
11
16
21
26
31
36
41
46
51
56
61
66
71
76
81
86
91
96
Period
101
Exponential smoothing
The following Rules of Thumb may be given : 1. When the magnitude of the random variations is large, give a lower value to a so as to average out the effects of the random variation quickly. 2. When the magnitude of the random variation is moderate, a large value can be assigned to the smoothing constant a. 3. It has been found appropriate to have a between 0.1 and 0.2 in many systems. This method has been successfully applied by banks, manufacturing companies, wholesalers and other organizations.
FORECASTING IN DEMANTRA
21
Demantra
Bayesian Estimator
Library of models is executed Based on goodness of fit models combined into single result set Nuances of models maintained
Traditional fit
23
24
4
3 2
Once a stop has been reached generate a forecast Traverse to brothers and continue traversal Before going up check if any sons require a forecast if required generate a forecast
Forecast Split 4
3 2
Higher aggregation of forecast split to lower members who do not have a forecast Forecast is split according to defined proportion rule-set Forecast always stored at lowest system aggregation to enable view of data at any query level
Learning Phase
Tree traversal Per node process Fit generation Bayesian combination
Forecasting Phase
Generate forecast Split Forecast to lowest level
Distributed Engine
Full data set divided into tasks Each task comprised of one or more engine branches For recommended Branch ID Multiplier divide planned rows in Sales_data/ (Engines) /250,000
Models
The Analytical Engine uses a set of theoretical models, each trying to explain history using different methods and algorithms.
Regression
Regression Log (log transformation before regression) CMReg (Markov chain selection of subset of causal factors) Elog (uses Markov chain after log transformation)
Exponential smoothing
Holt Bwint
Intermittent Models
CMReg for Intermittent Regression for Intermittent Croston
Other Models
BWint (a mixture of regression and exponential smoothing) DMULT (Multiplicative)
DP and PE modes
Depending on installation and settings, you will run the engine in one of two modes:
DP Mode
Base Only causals Base Forecast Generated
PE Mode
Base and Promotional causals Forecast decomposed to base and lift
Engine Parameters
Max Fore Level
The maximum level on the forecast tree at which a forecast may be produced. Upon failure at this level, the NAIVE model will be used, if enabled. The NAIVE model is used only at the highest forecast level, and is used only if all other models have failed. It uses a simple averaging procedure.
History Length
The number of base time buckets to consider for fit estimation and for the proport mechanism. Must be a non-negative integer. If equal to 0, the length of the history is set by the start_date parameter instead.
Quantity Form
Expression that the Analytical Engine uses to compose the historical demand from the sales_data table; the result of this expression is the data that the engine receives as input. This expression should return 0, null, or a numeric quantity for any date. A date with 0 is treated as if there were no sales. A date with null is treated as a missing date; in this case, the system can interpolate a value or just ignore the date.
Causal factors
43
Default Causals
Trend Month of the year Constant Winter Summer Business days in the month Holidays Week ending the quarter
Typical Causals
Who We Are
Trinamix is a provider of Oracle Value Chain Planning & ERP services. Trinamix solutions focus on deploying best practices to maximize return on investment.
Trinamix is a prominent, full service, Value Chain Planning solution company with multiple customer success stories in the San Francisco Bay area. Trinamix offers pre-built solutions for various industries. Specific industry segments served include high tech, consumer packaged goods, renewable energy, manufacturing, and semiconductors.
Trinamix was founded by former members of the prestigious Oracle Product Development team, who helped create the Value Chain Planning products, and by best in class implementation experts.
48
On the TRAC
Email: asharma@trinamix.com
49