Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getNWCOEF

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,FLag,lag.max,type,ic,weight.matrix)
COEF=getNWCOEF(out=mainOUTPUT,sheet=1)

GVARX

Perform Global Vector Autoregression Estimation and Inference

v1.3
GPL (>= 2)
Authors
Ho Tsung-wu
Initial release
2020-2-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.