roll: adaptive buffered grey rolling model

Description Usage Arguments Examples

View source: R/roll.R

Description

adaptive buffered grey rolling model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
roll(
  y,
  ntest = NULL,
  rollterm = 1,
  model = gm,
  buff = NA,
  intensity = NA,
  piece = 4,
  stepsize = 1
)

Arguments

y

data sequence

ntest

test data of outsample

rollterm

forecasting terms by extroplation

model

unit grey model used in each data piece

buff

the buffer operator function adjusting data piece

piece

length of data piece

stepsize

rolling step

Examples

1
r<-roll(y)

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