@krzysztofsztompka/garch
    Preparing search index...

    Type Alias FitsAtRequest

    fitsAt's question: the returns and the train ends to fit at.

    type FitsAtRequest = {
        dist?: Distribution;
        ends: readonly number[];
        exogenous?: ArrayLike<number>;
        mean?: MeanModel;
        model?: GarchModel;
        returns: ArrayLike<number>;
        targetVariance?: boolean;
    }
    Index
    ends: readonly number[]

    Train-end indices: each fit sees returns[0 … end].

    exogenous?: ArrayLike<number>

    GARCH-X: x aligned with the returns (garch and gjr); see FitOptions.exogenous. Forecasts hold it at its last value.

    mean?: MeanModel

    A fitted constant (default) or zero; see FitOptions.mean.

    model?: GarchModel
    returns: ArrayLike<number>
    targetVariance?: boolean

    Variance targeting (garch and gjr); see FitOptions.targetVariance.