Skip to content
Prev 4259 / 15274 Next

Vector autoregression with Newey-West standard errors

On Tue, 9 Jun 2009, Matthieu Stigler wrote:

            
No, there is no "problem" at least not from the "sandwich" point of view. 
If you want "sandwich" to cooperate with "varest" objects, you just need 
to provide the appropriate methods (essentially, bread() and estfun()) for 
"varest" objects. This is a clean and non-invasive solution and not very 
difficult to implement given that all this is OLS.
Thanks for the pointer. My feeling would be that if you provided 
appropriate methods, you would get the HC stuff (or Eicker-White or 
Eicker-Huber-White or White or HCCM or sandwich or ...) for free from 
"sandwich".

As I pointed out in my previous my, this is all documented in
   vignette("sandwich-OOP", package = "sandwich")

Best,
Z