[R-SIG-Finance] Newey-West Long-run variance
matthieu.stigler at gmail.com
Sun Feb 22 19:03:25 CET 2009
see package sandwich
Jose Iparraguirre D'Elia a écrit :
> In S-plus + FinMetrics, there is a function (asymp.var) to compute the nonparametric Newey-West long-run variance of a time series (see example in Modelling Financial Time Series with S-PLUS by Eric Zivot and Jiahui Wang, Section 3.2.8).
> Is there a similar function in R? The NW estimator is used, for example, to obtain the variance as part of the Phillips-Perron unit root test in the tseries package, but how can that estimate be obtained? Has anyone written a code in R that does what asymp.var does in S-Plus? Regards,
> [[alternative HTML version deleted]]
> R-SIG-Finance at stat.math.ethz.ch mailing list
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
More information about the R-SIG-Finance