cancel
Showing results for 
Search instead for 
Did you mean: 

Expost Fcst

Former Member
0 Kudos

Hi Experts,

i am using weekly forecast profile

Strategy is 11, constant model.

just wanted to know how the system calculating Ex-post and Basic value for this strategy 11.

In the forecast profile i have mentioned alpha is 0.10, no beta, no gama, no singma, periods is 52,

in the outlier correction i mentioned Ex-post forecast.

The values which i marked i could not understand how the system calucting.

Please help me in this.

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

rajkj
Active Contributor
0 Kudos

Hi Sumanth,

The Ex-post forecast is nothing but the forecast for the past periods for which you have actual values.

A forecast that is run in past periods for which actual demand history is also available. The system calculates the forecast accuracy measurements by comparing the differences between the actual values and the ex-post values.

It is not possible to influence the length of the initialization and ex-post horizons.

- SAP help documentation

The system determines the ex-post horizon based on your history horizon (forecast profile). Since you used outline correction settings as ex-post method, the system calculates the ex-post forecast twice.

  • Determine the ex-post forecast
  • Define threshold limits (ex-post + sigma * MAD)
  • Perform outline correction i.e. any history value lies outside of threshold limits) and correct history.
  • Calculate the ex-post forecast again based on the corrected history.

(Ref: http://help.sap.com/saphelp_scm50/helpdata/en/c5/eea7f4741c4e39aff1d6e4fce4b024/frameset.htm )

Basic Value:

In first order exponential smoothing (i.e. strategy 11), the basic value is determined as

F(t) = alpha*A(t-1) + [1 - aplha] * F(t - 1)

where

F(t) = Forecast value for period t

A(t) = Actual value for period t

Forecast value

Forecast = Basic value + Trend value + Seasonality value

(Note: for strategy 11, there won't be any trend and seasonality)

Ex-post forecast is derived using the above formulas for past periods.

Thanks,
Rajesh

Former Member
0 Kudos

Hi Ranjesh,

Thanks for your information.

The values in the Basic value are different without mentioned Ex-post in the Master forecast profile in the outlier tab.

In this case the values are correct as your formula.

But if i mentioned Expost in the outlier in Master forecast profile then then values which are populating in Basic value is different and also Ex-post is different. Just want to know how this ex-post value calculating?

Define threshold limits (ex-post + sigma * MAD) - where i have to maintain this threshold limit?

How the system does know the value lies threshold?

rajkj
Active Contributor
0 Kudos

Sumanth,

Outlier correction based on ex-post method can't be controlled by means of configuration or any other setting. The formula given by SAP is dependent on the tracking signal. Typically, it's expressed as a ratio of sum of forecast errors and MAD. Generally, the forecast is considered of good quality if | tracking signal | < 4. Then, statistically, sigma can be defined as 1.25*MAD (approx). Using statistical formulas, SAP calculates the threshold limits as Ex-post forecast +(or -) sigma * MAD.

The corrected value will be the average value of upper and lower limits. Please check the following screenshot for an example.

Then, the following example with and without outlier correction should explain the way ex-post and basic values are calculated in the DP. Please check and let me know if you have any queries.

Outlier Correction: Ex-Post Method and Alpha = 0.1








PeriodW 48.2012W 49.2012W 50.2012W 51.2012W 52.2012W 01.2013W 02.2013W 03.2013W 04.2013W 05.2013W 06.2013W 07.2013W 08.2013W 09.2013
Forecast







104910491049104910491049
Orig Hist1703958920103117039589201031





Cor Hist1157132192010311096107210381031





Ex-Post10191033106210471046105110531051





Cor Fcst







104910491049104910491049
Seasonal11111111111111
Trend00000000000000
Basic1032.851061.621047.461045.811050.861052.981051.461049.421049.421049.421049.421049.421049.421049.42





























Basic(t) = Basic(t-1) * 0.9 + Cor. Hist(t) * 0.1Basic W49=1032.85*0.9 + 1321*0.1





Basic
1061.6651047.4581045.8141050.8291052.9741051.4821049.414




Ex-Post

106210471046105110531051Ex-post(t) = Basic (t-1)
















Outlier Correction: None and Alpha = 0.1









PeriodW 48.2012W 49.2012W 50.2012W 51.2012W 52.2012W 01.2013W 02.2013W 03.2013W 04.2013W 05.2013W 06.2013W 07.2013W 08.2013W 09.2013
Forecast







114911491149114911491149
Orig Hist1703958920103117039589201031





Cor Hist1703958920103117039589201031





Ex-Post11781231120311751161121511891162





Cor Fcst







114911491149114911491149
Seasonal11111111111111
Trend00000000000000
Basic1230.581203.321174.991160.591214.831189.151162.231149.111149.111149.111149.111149.111149.111149.11





























Basic(t) = Basic(t-1) * 0.9 + Cor. Hist(t) * 0.1Basic W49 = 1230.58*0.9 + 958*0.1





Basic
1203.3221174.9881160.5911214.8311189.1471162.2351149.107




Ex-post

120311751161121511891162Ex-post(t) = Basic (t-1)

The minute difference between the numbers might be due to the rounding logic used internally and please note ex-post and forecast values are determined in the same way. In case of first-order exponential smoothing, your basic value determines the forecast.

Thanks,
Rajesh

Former Member
0 Kudos

Hi Rajesh,

Thanks for your valuable information. Now i am clear.

You mean to say the Ex-post value for the current period is belongs to Previous period Basic value.

I am i right. I calculated the values that what you are saying that is the current period Ex-post value is belongs to previous period Basic value. There might be little bit difference the values in ex-post due to the some rounding.

Now i am clear in Ex-post calculation for Strategy 11 First order exponential smoothing.

Could you please explain in the details in the below screen?

For week 44--> History is 920, Corrected History is 1014, How corrected History is 1014 in week44.

the formula for week44 corrected history is 1090+938/2=1014.

From where the values 1090+938 is taking?

in the below screen Outlier is X. is that mean no outlier happens for that period. right

Thanks a lot lot for your information. I am clear now that what you said. just need few things here.

Former Member
0 Kudos

HI Rajsh,

Once again Thanks for your details explanation.

Thank You,

rajkj
Active Contributor
0 Kudos

Hi Sumanth,

Please check the following answers to your queries.

Q1. Corrected history and tolerance limits.

- The system generates the tolerance limits based on ex-post forecast, MAD, and supplied sigma factor (Upper limit = ex-post + sigma*MAD and Lower limit = ex-post - sigma * MAD).

- The corrected history value is the average value of upper and lower limits.

Q2. Outlier correction periods are marked with X

- If there is a outlier correction, the period's outlier column is marked with X and the corrected history value is displayed in red color.

- If there is no X, no outlier correction takes place as the original history falls within the tolerance limits.

Thanks,
Rajesh

rajkj
Active Contributor
0 Kudos

You are welcome and happy to note that my post was useful.

Thanks,

Rajesh