Skip to main content
Commonmark migration
Source Link

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example:

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

I want to do it in R. I tried to use a loop but my problem is how to add the predicted value to my time series ?

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example:

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

I want to do it in R. I tried to use a loop but my problem is how to add the predicted value to my time series ?

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example:

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

I want to do it in R. I tried to use a loop but my problem is how to add the predicted value to my time series ?

appended answer 131094 as supplemental
Source Link
whuber
  • 333.6k
  • 63
  • 792
  • 1.3k

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example:

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

I want to do it in R. I tried to use a loop but my problem is how to add the predicted value to my time series ?

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example:

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example:

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

I want to do it in R. I tried to use a loop but my problem is how to add the predicted value to my time series ?

deleted 24 characters in body
Source Link
Andy
  • 19.3k
  • 20
  • 86
  • 104

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example  :

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

Thanks for your answer

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example  :

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series

Thanks for your answer

I'm working on time series with a monthly demand for 5 years. Currently, I'm using naive method to forecast 12 months (h=12)and it does work very well I want to forecast only for one month (h=1) (always with naive method) and then include this predicted value to time series and repeat this process 12 times. For example:

  1. get forecast for January 2013
  2. include this predicted value to time series
  3. Apply naive method for the new series
Source Link
MAYA
  • 123
  • 1
  • 6
Loading