dgm: discrete grey prediction model by Xie Naiming

Description Usage Arguments Examples

View source: R/dgm.R

Description

model sequential data with discrete GM(1,1) model

Usage

1
dgm(y, ntest = NULL, term = 1, buff = NULL, alpha = NA)

Arguments

y

original data

ntest

number of insample data to test accuracy

term

length of extropotation data, forecasting data.

buff

buffer operator used for original data.

Examples

1
g<-dgm(y)

exoplanetX/greyforecasting documentation built on Jan. 17, 2022, 6:46 a.m.