Skip to main content
added 605 characters in body
Source Link
Stephan Kolassa
  • 130.8k
  • 22
  • 264
  • 497
  1. Certainly it's possible to forecast totally random data.
  2. The best method will depend on what "totally random" means, and on what "best" means. Let's suppose that "best" means "lowest expected ".
  • If "totally random" means independent, identically distributed (iid) sales, then the best forecast will be the historical average.
  • If "totally random" means iid increments over the previous day's sales, i.e., a random walk, then the best forecast will be the last observation, also known as the "naive forecast". This data generating process is unplausible for sales, though a good first idea for stock prices.

"Best" = "lowest expected " has a different answer. "Best" = "lowest expected " may have yet another answer.

I suspect that you have something different in mind by "totally random". We have a number of existing threads on forecasting daily data. Browsing these should be useful.

I am not achieving the results that I expected, the error values are way high how to reduce errors estimates. and get the better forecast values.

Regarding your question about your specific data: This question is very broadThis may be helpful.

Am I doing anything wrong in this case, because my forecasted values are way different from the actual values?

Any time series consists of both signal and noise. A forecasting method will attempt to isolate and forecast the signal, and I believe you would profit from reading an introductory level textbookignore the noise, e.g.because noise, by definition, is not forecastable. Therefore the free online Forecasting: Principles and Practice by Hyndman & Athanasopoulosforecast will always be less variable than the history. If after reading this you still

can someone guide me on how to handle business day data for less than 2 years of the time period? Can someone look into the attached data frame and suggest the best possible method to forecast.

You can specify that your data may have more specific questions, then please do ask them hereweekly seasonality by using ts(...,frequency=7). If you alreadyThen have read suchauto.arima() may give you a textbookseasonal model if the weekly seasonality is strong enough. If you can get more data, please edit your question you may be able to make it more specificfit a model with . Thank you!

  1. Certainly it's possible to forecast totally random data.
  2. The best method will depend on what "totally random" means, and on what "best" means. Let's suppose that "best" means "lowest expected ".
  • If "totally random" means independent, identically distributed (iid) sales, then the best forecast will be the historical average.
  • If "totally random" means iid increments over the previous day's sales, i.e., a random walk, then the best forecast will be the last observation, also known as the "naive forecast". This data generating process is unplausible for sales, though a good first idea for stock prices.

"Best" = "lowest expected " has a different answer. "Best" = "lowest expected " may have yet another answer.

I suspect that you have something different in mind by "totally random". We have a number of existing threads on forecasting daily data. Browsing these should be useful.

Regarding your question about your specific data: This question is very broad, and I believe you would profit from reading an introductory level textbook, e.g., the free online Forecasting: Principles and Practice by Hyndman & Athanasopoulos. If after reading this you still have more specific questions, then please do ask them here. If you already have read such a textbook, please edit your question to make it more specific. Thank you!

  1. Certainly it's possible to forecast totally random data.
  2. The best method will depend on what "totally random" means, and on what "best" means. Let's suppose that "best" means "lowest expected ".
  • If "totally random" means independent, identically distributed (iid) sales, then the best forecast will be the historical average.
  • If "totally random" means iid increments over the previous day's sales, i.e., a random walk, then the best forecast will be the last observation, also known as the "naive forecast". This data generating process is unplausible for sales, though a good first idea for stock prices.

"Best" = "lowest expected " has a different answer. "Best" = "lowest expected " may have yet another answer.

I suspect that you have something different in mind by "totally random". We have a number of existing threads on forecasting daily data. Browsing these should be useful.

I am not achieving the results that I expected, the error values are way high how to reduce errors estimates. and get the better forecast values.

This may be helpful.

Am I doing anything wrong in this case, because my forecasted values are way different from the actual values?

Any time series consists of both signal and noise. A forecasting method will attempt to isolate and forecast the signal, and ignore the noise, because noise, by definition, is not forecastable. Therefore the forecast will always be less variable than the history.

can someone guide me on how to handle business day data for less than 2 years of the time period? Can someone look into the attached data frame and suggest the best possible method to forecast.

You can specify that your data may have weekly seasonality by using ts(...,frequency=7). Then auto.arima() may give you a seasonal model if the weekly seasonality is strong enough. If you can get more data, you may be able to fit a model with .

Source Link
Stephan Kolassa
  • 130.8k
  • 22
  • 264
  • 497

  1. Certainly it's possible to forecast totally random data.
  2. The best method will depend on what "totally random" means, and on what "best" means. Let's suppose that "best" means "lowest expected ".
  • If "totally random" means independent, identically distributed (iid) sales, then the best forecast will be the historical average.
  • If "totally random" means iid increments over the previous day's sales, i.e., a random walk, then the best forecast will be the last observation, also known as the "naive forecast". This data generating process is unplausible for sales, though a good first idea for stock prices.

"Best" = "lowest expected " has a different answer. "Best" = "lowest expected " may have yet another answer.

I suspect that you have something different in mind by "totally random". We have a number of existing threads on forecasting daily data. Browsing these should be useful.

Regarding your question about your specific data: This question is very broad, and I believe you would profit from reading an introductory level textbook, e.g., the free online Forecasting: Principles and Practice by Hyndman & Athanasopoulos. If after reading this you still have more specific questions, then please do ask them here. If you already have read such a textbook, please edit your question to make it more specific. Thank you!