screamer.js
    Preparing search index...

    Interface EwMultiRegressionOptions

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

    interface EwMultiRegressionOptions {
        alpha?: number | null;
        com?: number | null;
        halflife?: number | null;
        intercept?: boolean;
        nRegressors: number;
        span?: number | null;
    }
    Index
    alpha?: number | null

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

    com?: number | null

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

    halflife?: number | null

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

    intercept?: boolean

    Fit an intercept b0. Without one, the line goes through the origin and r2 is the uncentered R-squared.

    true

    nRegressors: number

    Number of regressors k. The operator takes k + 1 inputs, y first, and returns k + 3 outputs, plus 1 with an intercept.

    span?: number | null

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