GM_test: Grey Model Test for Data Suitability

Description Usage Arguments Details Value References See Also Examples

View source: R/GM_test.R

Description

The GM_test function test the suitability of data for Grey modelling.

Usage

1

Arguments

data

Input univariate time series (ts) data.

Details

On the considered time series data, this function computes the ratio sequence. The data is suitable for grey modelling if the sequence value falls between 0.1345 and 7.389 (Hsu and Wang, 2007).

Value

Test_Result

If the data is suitable for grey modelling, “data is suitable for Grey modelling” will be printed; otherwise, “data is not suitable for Grey modelling” will be printed.

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.

See Also

GM, fcast_grey

Examples

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

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

Related to GM_test in GreyModel...