Learn R Programming

LinearDetect (version 0.1.5)

pred: prediction function

Description

prediction function

Usage

pred(X, phi, j, p.x, p.y, h = 1)

Arguments

X

data for prediction

phi

parameter matrix

j

the start time point for prediction

p.x

the dimension of data X

p.y

the dimension of data Y

h

the length of observation to predict

Value

prediction matrix