How do I decide when to use MAPE, SMAPE and MASE for time series analysis on stock forecastingWhat are the...
Why would an airport be depicted with symbology for runways longer than 8,069 feet even though it is reported on the sectional as 7,200 feet?
When did computers stop checking memory on boot?
How do Scrum teams manage their dependencies on other teams?
When calculating averages, why can we treat exploding die as if they're independent?
Strategies for dealing with chess burnout?
Online Education for OR and Developing Decision Support Systems
Contour plot of a sequence of spheres with increasing radius
Capacitors with same voltage, same capacitance, same temp, different diameter?
Is future tense in English really a myth?
Are programming languages necessary/useful for operations research practitioner?
How strong is aircraft-grade spruce?
Why is the the worst case for this function O(n*n)
The meaning of "offing" in "an agreement in the offing"
How is lower/no gravity simulated on a planet with gravity, without leaving the surface?
Equilibrium points of bounce/instanton solution after Wick's rotation
How should Thaumaturgy's "three times as loud as normal" be interpreted?
UK citizen travelling to France at the end of November
Problem with listing a directory to grep
Distinguishing between octahedral and tetrahedral holes
I need to know information from an old German birth certificate
What makes an ending "happy"?
Train between Vienna airport and city center
More than three domains hosted on the same IP address
Why does low tire pressure decrease fuel economy?
How do I decide when to use MAPE, SMAPE and MASE for time series analysis on stock forecasting
What are the shortcomings of the Mean Absolute Percentage Error (MAPE)?Adding up events in time series forecastingTime series forecasting accuracy measures: MAPE and MASETime-series forecasting (in C#)I want to do Time series forecasting on daily ATM transaction dataForecast accuracy metric that involves prediction intervalsWhat is frequency in time series in general and in my examples?How to interpret MASE for longer horizon forecasts?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
$begingroup$
My task is to forecast future 1 month stock required for retail store, at a daily basis. How do I decide whether
MAPE, SMAPE and MASE
is a good metrics for the scenario?
In my context, over-forecast is better than under-forecast.
time-series forecasting model-evaluation mape mase
$endgroup$
add a comment |
$begingroup$
My task is to forecast future 1 month stock required for retail store, at a daily basis. How do I decide whether
MAPE, SMAPE and MASE
is a good metrics for the scenario?
In my context, over-forecast is better than under-forecast.
time-series forecasting model-evaluation mape mase
$endgroup$
add a comment |
$begingroup$
My task is to forecast future 1 month stock required for retail store, at a daily basis. How do I decide whether
MAPE, SMAPE and MASE
is a good metrics for the scenario?
In my context, over-forecast is better than under-forecast.
time-series forecasting model-evaluation mape mase
$endgroup$
My task is to forecast future 1 month stock required for retail store, at a daily basis. How do I decide whether
MAPE, SMAPE and MASE
is a good metrics for the scenario?
In my context, over-forecast is better than under-forecast.
time-series forecasting model-evaluation mape mase
time-series forecasting model-evaluation mape mase
edited 8 hours ago
Richard Hardy
29.6k6 gold badges50 silver badges141 bronze badges
29.6k6 gold badges50 silver badges141 bronze badges
asked 8 hours ago
william007william007
2152 silver badges5 bronze badges
2152 silver badges5 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You are forecasting for stock control, so you need to think about setting safety amounts. In my opinion, a quantile forecast is far more important in this situation than a forecast of some central tendency (which the accuracy KPIs you mention assess).
You essentially have two or three possibilities.
Directly forecast high quantiles of your unknown future distribution. There are more and more papers on this. I'll attach some below.
Regarding your question, you can assess the quality of quantile forecasts using hinge loss functions, which are also used in quantile regression. Take a look at the papers by Ehm et al. (2016) and Gneiting (2011) below.
Forecast some central tendency, e.g., the conditional expectation, plus higher moments as necessary, and combine these with an appropriate distributional assumption to obtain quantiles or safety amounts. For instance, you could forecast the conditional mean and the conditional variance and use a normal or negative-binomial distribution to set target service levels.
In this case, you can use a forecast accuracy KPI that is consistent with the measure of central tendency you are forecasting for. For instance, if you try to forecast the conditional expectation, you can assess it using the MSE. Or you could forecast the conditional median and assess this using the MAE, wMAPE or MASE. See Kolassa (2019) on why this sounds so complicated. And you will still need to assess whether your forecasts of higher moments (e.g., the variance) are correct. Probably best to directly evaluate the quantiles this approach yields by the methods discussed above.
Forecast full predictive densities, from which you can derive all quantiles you need. This is what I argue for in Kolassa (2016).
You can evaluate predictive densities using proper scoring rules. See Kolassa (2016) for details and pointers to literature. The problem is that these are far less intuitive than the point forecast error measures discussed above.
What are the shortcomings of the Mean Absolute Percentage Error (MAPE)? is likely helpful, and also contains more information. If you are forecasting for a single store, I suspect that the MAPE will often be undefined, because of zero demands (that you would need to divide by).
References
(sorry for not nicely formatting these)
Ehm, W.; Gneiting, T.; Jordan, A. & Krüger, F.
Of quantiles and expectiles: consistent scoring functions, Choquet representations and forecast rankings (with discussion).
Journal of the Royal Statistical Society, Series B, 2016 , 78 , 505-562
Gneiting, T.
Quantiles as optimal point forecasts.
International Journal of Forecasting, 2011 , 27 , 197-207
Kolassa, S.
Why the "best" point forecast depends on the error or accuracy measure.
International Journal of Forecasting, 2019
Kolassa, S.
Evaluating Predictive Count Data Distributions in Retail Sales Forecasting.
International Journal of Forecasting, 2016 , 32 , 788-803
The following are more generally on quantile forecasting:
Trapero, J. R.; Cardós, M. & Kourentzes, N.
Quantile forecast optimal combination to enhance safety stock estimation.
International Journal of Forecasting, 2019 , 35 , 239-250
Bruzda, J.
Quantile smoothing in supply chain and logistics forecasting.
International Journal of Production Economics, 2019 , 208 , 122 - 139
Kourentzes, N.; Trapero, J. R. & Barrow, D. K.
Optimising forecasting models for inventory planning.
Lancaster University Management School, Lancaster University Management School, 2019
Ulrich, M.; Jahnke, H.; Langrock, R.; Pesch, R. & Senge, R.
Distributional regression for demand forecasting -- a case study.
2018
Bruzda, J.
Multistep quantile forecasts for supply chain and logistics operations: bootstrapping, the GARCH model and quantile regression based approaches.
Central European Journal of Operations Research, 2018
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "65"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f425390%2fhow-do-i-decide-when-to-use-mape-smape-and-mase-for-time-series-analysis-on-sto%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You are forecasting for stock control, so you need to think about setting safety amounts. In my opinion, a quantile forecast is far more important in this situation than a forecast of some central tendency (which the accuracy KPIs you mention assess).
You essentially have two or three possibilities.
Directly forecast high quantiles of your unknown future distribution. There are more and more papers on this. I'll attach some below.
Regarding your question, you can assess the quality of quantile forecasts using hinge loss functions, which are also used in quantile regression. Take a look at the papers by Ehm et al. (2016) and Gneiting (2011) below.
Forecast some central tendency, e.g., the conditional expectation, plus higher moments as necessary, and combine these with an appropriate distributional assumption to obtain quantiles or safety amounts. For instance, you could forecast the conditional mean and the conditional variance and use a normal or negative-binomial distribution to set target service levels.
In this case, you can use a forecast accuracy KPI that is consistent with the measure of central tendency you are forecasting for. For instance, if you try to forecast the conditional expectation, you can assess it using the MSE. Or you could forecast the conditional median and assess this using the MAE, wMAPE or MASE. See Kolassa (2019) on why this sounds so complicated. And you will still need to assess whether your forecasts of higher moments (e.g., the variance) are correct. Probably best to directly evaluate the quantiles this approach yields by the methods discussed above.
Forecast full predictive densities, from which you can derive all quantiles you need. This is what I argue for in Kolassa (2016).
You can evaluate predictive densities using proper scoring rules. See Kolassa (2016) for details and pointers to literature. The problem is that these are far less intuitive than the point forecast error measures discussed above.
What are the shortcomings of the Mean Absolute Percentage Error (MAPE)? is likely helpful, and also contains more information. If you are forecasting for a single store, I suspect that the MAPE will often be undefined, because of zero demands (that you would need to divide by).
References
(sorry for not nicely formatting these)
Ehm, W.; Gneiting, T.; Jordan, A. & Krüger, F.
Of quantiles and expectiles: consistent scoring functions, Choquet representations and forecast rankings (with discussion).
Journal of the Royal Statistical Society, Series B, 2016 , 78 , 505-562
Gneiting, T.
Quantiles as optimal point forecasts.
International Journal of Forecasting, 2011 , 27 , 197-207
Kolassa, S.
Why the "best" point forecast depends on the error or accuracy measure.
International Journal of Forecasting, 2019
Kolassa, S.
Evaluating Predictive Count Data Distributions in Retail Sales Forecasting.
International Journal of Forecasting, 2016 , 32 , 788-803
The following are more generally on quantile forecasting:
Trapero, J. R.; Cardós, M. & Kourentzes, N.
Quantile forecast optimal combination to enhance safety stock estimation.
International Journal of Forecasting, 2019 , 35 , 239-250
Bruzda, J.
Quantile smoothing in supply chain and logistics forecasting.
International Journal of Production Economics, 2019 , 208 , 122 - 139
Kourentzes, N.; Trapero, J. R. & Barrow, D. K.
Optimising forecasting models for inventory planning.
Lancaster University Management School, Lancaster University Management School, 2019
Ulrich, M.; Jahnke, H.; Langrock, R.; Pesch, R. & Senge, R.
Distributional regression for demand forecasting -- a case study.
2018
Bruzda, J.
Multistep quantile forecasts for supply chain and logistics operations: bootstrapping, the GARCH model and quantile regression based approaches.
Central European Journal of Operations Research, 2018
$endgroup$
add a comment |
$begingroup$
You are forecasting for stock control, so you need to think about setting safety amounts. In my opinion, a quantile forecast is far more important in this situation than a forecast of some central tendency (which the accuracy KPIs you mention assess).
You essentially have two or three possibilities.
Directly forecast high quantiles of your unknown future distribution. There are more and more papers on this. I'll attach some below.
Regarding your question, you can assess the quality of quantile forecasts using hinge loss functions, which are also used in quantile regression. Take a look at the papers by Ehm et al. (2016) and Gneiting (2011) below.
Forecast some central tendency, e.g., the conditional expectation, plus higher moments as necessary, and combine these with an appropriate distributional assumption to obtain quantiles or safety amounts. For instance, you could forecast the conditional mean and the conditional variance and use a normal or negative-binomial distribution to set target service levels.
In this case, you can use a forecast accuracy KPI that is consistent with the measure of central tendency you are forecasting for. For instance, if you try to forecast the conditional expectation, you can assess it using the MSE. Or you could forecast the conditional median and assess this using the MAE, wMAPE or MASE. See Kolassa (2019) on why this sounds so complicated. And you will still need to assess whether your forecasts of higher moments (e.g., the variance) are correct. Probably best to directly evaluate the quantiles this approach yields by the methods discussed above.
Forecast full predictive densities, from which you can derive all quantiles you need. This is what I argue for in Kolassa (2016).
You can evaluate predictive densities using proper scoring rules. See Kolassa (2016) for details and pointers to literature. The problem is that these are far less intuitive than the point forecast error measures discussed above.
What are the shortcomings of the Mean Absolute Percentage Error (MAPE)? is likely helpful, and also contains more information. If you are forecasting for a single store, I suspect that the MAPE will often be undefined, because of zero demands (that you would need to divide by).
References
(sorry for not nicely formatting these)
Ehm, W.; Gneiting, T.; Jordan, A. & Krüger, F.
Of quantiles and expectiles: consistent scoring functions, Choquet representations and forecast rankings (with discussion).
Journal of the Royal Statistical Society, Series B, 2016 , 78 , 505-562
Gneiting, T.
Quantiles as optimal point forecasts.
International Journal of Forecasting, 2011 , 27 , 197-207
Kolassa, S.
Why the "best" point forecast depends on the error or accuracy measure.
International Journal of Forecasting, 2019
Kolassa, S.
Evaluating Predictive Count Data Distributions in Retail Sales Forecasting.
International Journal of Forecasting, 2016 , 32 , 788-803
The following are more generally on quantile forecasting:
Trapero, J. R.; Cardós, M. & Kourentzes, N.
Quantile forecast optimal combination to enhance safety stock estimation.
International Journal of Forecasting, 2019 , 35 , 239-250
Bruzda, J.
Quantile smoothing in supply chain and logistics forecasting.
International Journal of Production Economics, 2019 , 208 , 122 - 139
Kourentzes, N.; Trapero, J. R. & Barrow, D. K.
Optimising forecasting models for inventory planning.
Lancaster University Management School, Lancaster University Management School, 2019
Ulrich, M.; Jahnke, H.; Langrock, R.; Pesch, R. & Senge, R.
Distributional regression for demand forecasting -- a case study.
2018
Bruzda, J.
Multistep quantile forecasts for supply chain and logistics operations: bootstrapping, the GARCH model and quantile regression based approaches.
Central European Journal of Operations Research, 2018
$endgroup$
add a comment |
$begingroup$
You are forecasting for stock control, so you need to think about setting safety amounts. In my opinion, a quantile forecast is far more important in this situation than a forecast of some central tendency (which the accuracy KPIs you mention assess).
You essentially have two or three possibilities.
Directly forecast high quantiles of your unknown future distribution. There are more and more papers on this. I'll attach some below.
Regarding your question, you can assess the quality of quantile forecasts using hinge loss functions, which are also used in quantile regression. Take a look at the papers by Ehm et al. (2016) and Gneiting (2011) below.
Forecast some central tendency, e.g., the conditional expectation, plus higher moments as necessary, and combine these with an appropriate distributional assumption to obtain quantiles or safety amounts. For instance, you could forecast the conditional mean and the conditional variance and use a normal or negative-binomial distribution to set target service levels.
In this case, you can use a forecast accuracy KPI that is consistent with the measure of central tendency you are forecasting for. For instance, if you try to forecast the conditional expectation, you can assess it using the MSE. Or you could forecast the conditional median and assess this using the MAE, wMAPE or MASE. See Kolassa (2019) on why this sounds so complicated. And you will still need to assess whether your forecasts of higher moments (e.g., the variance) are correct. Probably best to directly evaluate the quantiles this approach yields by the methods discussed above.
Forecast full predictive densities, from which you can derive all quantiles you need. This is what I argue for in Kolassa (2016).
You can evaluate predictive densities using proper scoring rules. See Kolassa (2016) for details and pointers to literature. The problem is that these are far less intuitive than the point forecast error measures discussed above.
What are the shortcomings of the Mean Absolute Percentage Error (MAPE)? is likely helpful, and also contains more information. If you are forecasting for a single store, I suspect that the MAPE will often be undefined, because of zero demands (that you would need to divide by).
References
(sorry for not nicely formatting these)
Ehm, W.; Gneiting, T.; Jordan, A. & Krüger, F.
Of quantiles and expectiles: consistent scoring functions, Choquet representations and forecast rankings (with discussion).
Journal of the Royal Statistical Society, Series B, 2016 , 78 , 505-562
Gneiting, T.
Quantiles as optimal point forecasts.
International Journal of Forecasting, 2011 , 27 , 197-207
Kolassa, S.
Why the "best" point forecast depends on the error or accuracy measure.
International Journal of Forecasting, 2019
Kolassa, S.
Evaluating Predictive Count Data Distributions in Retail Sales Forecasting.
International Journal of Forecasting, 2016 , 32 , 788-803
The following are more generally on quantile forecasting:
Trapero, J. R.; Cardós, M. & Kourentzes, N.
Quantile forecast optimal combination to enhance safety stock estimation.
International Journal of Forecasting, 2019 , 35 , 239-250
Bruzda, J.
Quantile smoothing in supply chain and logistics forecasting.
International Journal of Production Economics, 2019 , 208 , 122 - 139
Kourentzes, N.; Trapero, J. R. & Barrow, D. K.
Optimising forecasting models for inventory planning.
Lancaster University Management School, Lancaster University Management School, 2019
Ulrich, M.; Jahnke, H.; Langrock, R.; Pesch, R. & Senge, R.
Distributional regression for demand forecasting -- a case study.
2018
Bruzda, J.
Multistep quantile forecasts for supply chain and logistics operations: bootstrapping, the GARCH model and quantile regression based approaches.
Central European Journal of Operations Research, 2018
$endgroup$
You are forecasting for stock control, so you need to think about setting safety amounts. In my opinion, a quantile forecast is far more important in this situation than a forecast of some central tendency (which the accuracy KPIs you mention assess).
You essentially have two or three possibilities.
Directly forecast high quantiles of your unknown future distribution. There are more and more papers on this. I'll attach some below.
Regarding your question, you can assess the quality of quantile forecasts using hinge loss functions, which are also used in quantile regression. Take a look at the papers by Ehm et al. (2016) and Gneiting (2011) below.
Forecast some central tendency, e.g., the conditional expectation, plus higher moments as necessary, and combine these with an appropriate distributional assumption to obtain quantiles or safety amounts. For instance, you could forecast the conditional mean and the conditional variance and use a normal or negative-binomial distribution to set target service levels.
In this case, you can use a forecast accuracy KPI that is consistent with the measure of central tendency you are forecasting for. For instance, if you try to forecast the conditional expectation, you can assess it using the MSE. Or you could forecast the conditional median and assess this using the MAE, wMAPE or MASE. See Kolassa (2019) on why this sounds so complicated. And you will still need to assess whether your forecasts of higher moments (e.g., the variance) are correct. Probably best to directly evaluate the quantiles this approach yields by the methods discussed above.
Forecast full predictive densities, from which you can derive all quantiles you need. This is what I argue for in Kolassa (2016).
You can evaluate predictive densities using proper scoring rules. See Kolassa (2016) for details and pointers to literature. The problem is that these are far less intuitive than the point forecast error measures discussed above.
What are the shortcomings of the Mean Absolute Percentage Error (MAPE)? is likely helpful, and also contains more information. If you are forecasting for a single store, I suspect that the MAPE will often be undefined, because of zero demands (that you would need to divide by).
References
(sorry for not nicely formatting these)
Ehm, W.; Gneiting, T.; Jordan, A. & Krüger, F.
Of quantiles and expectiles: consistent scoring functions, Choquet representations and forecast rankings (with discussion).
Journal of the Royal Statistical Society, Series B, 2016 , 78 , 505-562
Gneiting, T.
Quantiles as optimal point forecasts.
International Journal of Forecasting, 2011 , 27 , 197-207
Kolassa, S.
Why the "best" point forecast depends on the error or accuracy measure.
International Journal of Forecasting, 2019
Kolassa, S.
Evaluating Predictive Count Data Distributions in Retail Sales Forecasting.
International Journal of Forecasting, 2016 , 32 , 788-803
The following are more generally on quantile forecasting:
Trapero, J. R.; Cardós, M. & Kourentzes, N.
Quantile forecast optimal combination to enhance safety stock estimation.
International Journal of Forecasting, 2019 , 35 , 239-250
Bruzda, J.
Quantile smoothing in supply chain and logistics forecasting.
International Journal of Production Economics, 2019 , 208 , 122 - 139
Kourentzes, N.; Trapero, J. R. & Barrow, D. K.
Optimising forecasting models for inventory planning.
Lancaster University Management School, Lancaster University Management School, 2019
Ulrich, M.; Jahnke, H.; Langrock, R.; Pesch, R. & Senge, R.
Distributional regression for demand forecasting -- a case study.
2018
Bruzda, J.
Multistep quantile forecasts for supply chain and logistics operations: bootstrapping, the GARCH model and quantile regression based approaches.
Central European Journal of Operations Research, 2018
answered 8 hours ago
Stephan KolassaStephan Kolassa
55.5k10 gold badges108 silver badges205 bronze badges
55.5k10 gold badges108 silver badges205 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Cross Validated!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f425390%2fhow-do-i-decide-when-to-use-mape-smape-and-mase-for-time-series-analysis-on-sto%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown