screamer.js
    Preparing search index...

    Interface RollingVarianceRatioOptions

    The settings of RollingVarianceRatio by name, for RollingVarianceRatio({ ... }).

    interface RollingVarianceRatioOptions {
        lag?: number;
        output?: string;
        startPolicy?: string;
        windowSize?: number;
    }
    Index
    lag?: number

    Number of returns summed into each long-horizon return (q).

    2

    output?: string

    "ratio" for the variance ratio VR(q), "zscore" for the heteroskedasticity-robust statistic z*(q).

    "ratio"

    startPolicy?: string

    Output before the window is full: "strict" gives NaN, "expanding" uses the returns seen so far once there are more than 2 lag, and "zero" treats the window as pre-filled with zeros.

    "strict"

    windowSize?: number

    Number of most recent returns in the window. Must be more than 2 lag.

    256