screamer.js
    Preparing search index...

    Function FracDiff

    • Fractional differencing filter. Removes the trend while keeping more of the series' memory than an integer difference.

      Parameters

      • options: FracDiffOptions

        The settings by name, each one optional where the positional form's is.

      Returns ScreamerOp

    • Fractional differencing filter. Removes the trend while keeping more of the series' memory than an integer difference.

      Parameters

      • Optionald: number

        Differencing order. 0 is the identity, 1 the first difference, 2 the second; negative values give fractional integration.

      • OptionalwindowSize: number

        Maximum number of taps, which bounds memory and per-step cost.

      • Optionalthreshold: number

        Truncate the weight series at the first weight smaller than this in absolute value. 0.0 keeps all window_size taps.

      • OptionalstartPolicy: string

        Output before the window is full: "strict" gives NaN, "expanding" computes from the samples seen so far, and "zero" treats the window as pre-filled with zeros.

      Returns ScreamerOp