Description Usage Arguments Details Value References See Also Examples
The fcast_grey function computes the h step ahead forecast values.
1 | fcast_grey(data, h=3)
|
data |
Input univariate time series (ts) data. |
h |
The forecast horizon. |
This function returns the fitted Grey model's h step ahead forecasted values.
Forecasted_value |
h step ahead forecasted values of the fitted Grey Model. |
Hsu, L. and Wang, C. (2007). Forecasting the output of integrated circuit industry using a grey model improved by the Bayesian analysis. Technological Forecasting and Social Change, 74, 843–853.
Ou, S. (2012). Forecasting agricultural output with an improved grey forecasting model based on the genetic algorithm. Computer and Electronics in Agriculture, 85, 33–39.
Wang, C. and Hsu, L. (2008). Using genetic algorithms grey theory to forecast high technology industrial output. Applied Mathematics and Computation, 195, 256–263.
GM, GM_test
1 2 | xt <- c(640,724,813,1145,1509,2122,1883,2413,2834,4235,7144,5269)
fcast_grey(data=xt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.