screamer.js
    Preparing search index...

    Interface RollingHMMOptions

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

    interface RollingHMMOptions {
        emission?: string;
        maxIter?: number;
        refitEvery?: number;
        tol?: number;
        windowSize?: number;
    }
    Index
    emission?: string

    "gaussian": each state emits a normal value with its own mean and variance; "ar1": each state emits an AR(1) step x_t = c + phi x_{t-1} + e with its own c, phi, and variance (Hamilton's Markov-switching AR(1)).

    "gaussian"

    maxIter?: number

    Largest number of EM iterations per fit.

    50

    refitEvery?: number

    Steps between fits. Between fits the model filters each new value with fixed parameters.

    24

    tol?: number

    A fit stops when an EM iteration raises the log-likelihood by less than this.

    1e-06

    windowSize?: number

    Number of most recent values the model is fit on.

    720