Description Usage Arguments Details Value References See Also Examples
The GM function fit GM (1, 1) model for time series data.
1 |
data |
Input univariate time series (ts) data. |
In situations where there are limited observations available for modelling, grey modelling may be employed (Hsu and Wang, 2007). Using the OLS approach, this function calculates the parameters (a and b) of the GM (1, 1) model. Additionally, this function returns the model's fitted values and different evaluation criteria.
a |
Grey model parameter |
b |
Grey model parameter |
MAE_Grey |
Mean Absolute Error (MAE) of fitted Grey model |
MAPE_Grey |
Mean Absolute Percentage Error (MAPE) of fitted Grey model |
MSE_Grey |
Mean Square Error (MSE) of fitted Grey model |
RMSE_Grey |
Root Mean Square Error (RMSE) of fitted Grey model |
fitted |
Fitted values of 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.
Mao, M. and Chirwa, E. C. (2006). Application of grey model GM(1, 1) to vehicle fatality risk estimation. Technological Forecasting and Social Change, 73, 588–605.
GM_test, fcast_grey
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.