Optional ReadonlykernelThe HAC weights of the autocovariances: bartlett (default), Newey–West's
1 − k/horizon, never negative; uniform, Diebold and Mariano's original
and R's dm.test default, all 1 — it can come out non-positive, and then
the test is refused.
How
dieboldMarianoweighs the autocovariances.