fcast_grey: Grey Model Forecast

Description Usage Arguments Details Value References See Also Examples

View source: R/fcast_grey.R

Description

The fcast_grey function computes the h step ahead forecast values.

Usage

1

Arguments

data

Input univariate time series (ts) data.

h

The forecast horizon.

Details

This function returns the fitted Grey model's h step ahead forecasted values.

Value

Forecasted_value

h step ahead forecasted values of the fitted Grey Model.

References

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.

See Also

GM, GM_test

Examples

1
2
xt <- c(640,724,813,1145,1509,2122,1883,2413,2834,4235,7144,5269)
fcast_grey(data=xt)

GreyModel documentation built on Sept. 13, 2021, 5:06 p.m.