nw: Newey-West HAC covariance estimator.

View source: R/nw.R

nwR Documentation

Newey-West HAC covariance estimator.

Description

Newey-West HAC covariance estimator.

Usage

nw(y, qn)

Arguments

y

A T*k vector of numeric values.

qn

A numberic scalar for the truncation lag.

Value

Newey-West HAC covariance estimator (as derived in Hayashi).


KevinKotze/tsm documentation built on Oct. 6, 2022, 12:22 a.m.