How do I decide when to use MAPE, SMAPE and MASE for time series analysis on stock forecastingWhat 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?
What makes things real?
How to find a reviewer/editor for my paper?
What happens when a file that is 100% paged in to the page cache gets modified by another process
Gap in tcolorbox after title
What is the name/purpose of this component?
The pirate treasure of Leatherback Atoll
How to capture c-lightining logs?
Need help to understand the integral rules used solving the convolution of two functions
How strong is aircraft-grade spruce?
A PEMDAS issue request for explanation
Why do the British opposition parties not want a new election?
What's the biggest difference between these two photos?
How there are 3 possible tautomers of 2,2,4-trimethylheptane-3,5-dione?
After a few interviews, What should I do after told to wait?
How can faith be maintained in a world of living gods?
Is there a "right" way to interpret a novel, if not, how do we make sure our novel is interpreted correctly?
Features seen on the Space Shuttle's solid booster; what does "LOADED" mean exactly?
Leaving the USA for 10 yrs when you have asylum
What can we do about our 9-month-old putting fingers down his throat?
Capacitors with same voltage, same capacitance, same temp, different diameter?
How do you say "to hell with everything" in French?
Is mountain bike good for long distances?
How to add extra edges in tree?
Is a MySQL database a viable alternative to LDAP?
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 9 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