rStats.js v1.3.0
    Preparing search index...

    Interface GlmModel

    The data and settings of a fit, kept for the refits of glmConfint and glmAnova.

    interface GlmModel {
        columnNames: string[];
        epsilon: number;
        familySpec: GlmFamilySpec;
        hasOffset: boolean;
        intercept: boolean;
        maxit: number;
        offset: number[];
        priorGiven: number[];
        rows: number[];
        start: number[] | undefined;
        x: number[][];
        yGiven: number[] | number[][];
        yScale?: number;
    }
    Index
    columnNames: string[]

    Column names: "(Intercept)", "x1", "x2", ...

    epsilon: number

    Convergence tolerance (R's glm.control(epsilon)).

    familySpec: GlmFamilySpec

    The family and link of the fit.

    hasOffset: boolean

    Whether an offset was given.

    intercept: boolean

    Whether the model has an intercept.

    maxit: number

    Maximum number of iterations (R's glm.control(maxit)).

    offset: number[]

    Offset, one per row (0 when not given).

    priorGiven: number[]

    Prior weights as given (1 when not given).

    rows: number[]

    0-based indices of the input rows used (the rows without a missing value; rows of weight 0 included).

    start: number[] | undefined

    Starting coefficients, if given.

    x: number[][]

    Model matrix (with the column of ones), rows with a missing value dropped.

    yGiven: number[] | number[][]

    Response as given (a vector, or rows of successes and failures), rows with a missing value dropped.

    yScale?: number

    k when the fit was computed on the response scaled by 2^-k (gaussian on the identity link; see scaledView).