screamer.js
    Preparing search index...

    Function EwParkinsonVar

    • Exponentially weighted Parkinson range-based variance estimator (high, low).

      Parameters

      Returns ScreamerOp

    • Exponentially weighted Parkinson range-based variance estimator (high, low).

      Parameters

      • Optionalcom: number | null

        Center of mass c, giving alpha = 1 / (1 + c). Must be positive. Give exactly one of com, span, halflife and alpha.

      • Optionalspan: number | null

        Span s in samples, giving alpha = 2 / (s + 1). Must be greater than 1. Give exactly one of com, span, halflife and alpha.

      • Optionalhalflife: number | null

        Half-life h in samples, giving alpha = 1 - exp(-ln(2) / h). Must be positive. Give exactly one of com, span, halflife and alpha.

      • Optionalalpha: number | null

        Smoothing factor, with 0 < alpha < 1; a larger alpha gives recent samples more weight. Give exactly one of com, span, halflife and alpha.

      Returns ScreamerOp