@krzysztofsztompka/garch
    Preparing search index...

    Type Alias DieboldMarianoOptions

    How dieboldMariano weighs the autocovariances.

    type DieboldMarianoOptions = {
        kernel?: "bartlett" | "uniform";
    }
    Index
    kernel?: "bartlett" | "uniform"

    The 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.