[R-SIG-Finance] Extracting regression coefficient standard errors from VAR

mat matthieu.stigler at gmail.com
Sat Feb 20 09:46:23 CET 2010


Dear Harry

Please when asking a question do provide also a minimal code to 
illustrate your point.

library(vars)
data(Canada)
V<-VAR(Canada, p=2)
lapply(V$varresult, function(x) coefficients(summary(x)))

#more precisely:
lapply(V$varresult, function(x) coefficients(summary(x))[,2])


Harry Hummel a écrit :
> How could one extract the standard errors from the results of VAR from the
> vars package?  The regression coefficients look pretty straight-forward, but
> I don’t see how to access the SE’s.
>
>  
>
> Sorry if this is a naïve, newbie question.
>
>  
>
> Harry
>
>
> 	[[alternative HTML version deleted]]
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list