Learn R Programming

GVARX (version 1.2)

getWhiteCOEFexo: Extract all-country coefficient estimates with White robust covariance.

Description

Extract all-country coefficient estimates with Newy-West robust covariance, and save them in a .csv file.

Usage

getWhiteCOEFexo(out)

Arguments

out

A list object of estimation results generated by GVARest.

Value

coef

Country-specific coefficient estimates.

Examples

Run this code
# NOT RUN {
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=getWhiteCOEFexo(out=mainOUTPUT)
# }

Run the code above in your browser using DataLab