make_hac: Autocorrelation-proof estimates using HAC estimator.

Description Usage Arguments Value Examples

View source: R/hac.R

Description

Autocorrelation-proof estimates using HAC estimator.

Usage

1
make_hac(acf_matrices, near_pd = F)

Arguments

acf_matrices

Matrices to use in the estimators.

near_pd

Boolean, nearest positive definite matrix from HAC estimate.

Value

HAC-transformed matrix

Examples

1
2
3
4
d <- 5
mats <- array(0, c(d, d, d))
mats[1,,] <- diag(d)
make_hac(mats)

valcourgeau/gammaextremes documentation built on Sept. 9, 2021, 5:42 a.m.