screamer.js
    Preparing search index...

    Interface RollingMultiRegressionOptions

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

    interface RollingMultiRegressionOptions {
        intercept?: boolean;
        nRegressors: number;
        windowSize: number;
    }
    Index
    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.

    windowSize: number

    Number of most recent rows in the fit. At least n_regressors + 1, plus 1 with an intercept, so the fit keeps a residual degree of freedom.