cvCom: Compute MSE of predictions in a moving window

Description Usage Arguments See Also

View source: R/cv.Breg.R

Description

This function is used in cv.Breg when type = "cv". Estimation an VAR(1) model in a moving window and make a 1-step ahead prediction. The MSE of prediciton is computed.

Usage

1
cvCom(x,lambda,gamma,alpha,T,width,Time)

Arguments

x

VAR(1) observations in a selected period.

width

Bandwidth of the moving window.

lambda

See Breg.

gamma

See Breg.

alpha

See Breg.

T

Number of observations.

Time

See Breg.

See Also

Breg


Jianeng/FinReg documentation built on May 14, 2019, 8:41 a.m.