Learn R Programming

LinearDetect (version 0.1.5)

pred.var: Prediction function for VAR 2

Description

Prediction function for VAR 2

Usage

pred.var(Y, phi, q, TT, p, h = 1)

Arguments

Y

data for prediction

phi

parameter matrix

q

the AR order

TT

the start time point for prediction

p

the number of time series components

h

the length of observation to predict

Value

prediction matrix