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 July 29, 2024, 2:18 p.m.