getNWCOEF: Extract country-specific LS coefficient estimates with...

View source: R/03GVARest.R View source: R/07GVECMest.R

getNWCOEFR Documentation

Extract country-specific LS coefficient estimates with Newy-West robust covariance.

Description

Extract country-specific LS coefficient estimates with Newy-West robust covariance.

Usage

getNWCOEF(out,sheet)

Arguments

out

A list object of estimation results generated by GVARest.

sheet

The number of country in out that is to be saved.

Value

coef

Country-specific coefficient estimates.

Author(s)

Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.

References

Newey WK and West KD (1994) Automatic Lag Selection in Covariance Matrix Estimation. Review of Economic Studies,61,631-653.

Examples

data("PriceVol")
data("tradeweight1")
data("tradeweightx")
p=2
FLag=2
lag.max=15
type="const"
ic="SC"
weight.matrix=tradeweightx
mainOUTPUT = GVARest(data=PriceVol,p,lag.max,type,ic,weight.matrix)
COEF=getNWCOEF(out=mainOUTPUT,sheet=1)

GVARX documentation built on Feb. 16, 2023, 10:56 p.m.

Related to getNWCOEF in GVARX...