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

    Interface GlmResult

    Result of glm: R's glm object.

    interface GlmResult {
        aic: number;
        boundary: boolean;
        coefficients: number[];
        converged: boolean;
        deviance: number;
        dfNull: number;
        dfResidual: number;
        family: GlmFamilyName;
        fittedValues: number[];
        iter: number;
        linearPredictors: number[];
        link: string;
        model: GlmModel;
        nullDeviance: number;
        priorWeights: number[];
        qr: QR | undefined;
        rank: number;
        residuals: number[];
        warnings: string[];
        weights: number[];
        y: number[];
    }
    Index
    aic: number

    AIC; NaN for the quasi families.

    boundary: boolean

    Whether the step was truncated (halved) in the last iteration.

    coefficients: number[]

    Coefficients (intercept first); NaN for aliased columns.

    converged: boolean

    Whether the iterations converged.

    deviance: number

    Residual deviance.

    dfNull: number

    Degrees of freedom of the null deviance (R's df.null).

    dfResidual: number

    Residual degrees of freedom (R's df.residual).

    The family's name and the link's name ("mu^0.333" for a power link).

    fittedValues: number[]

    Fitted means, one per row (rows with a missing value dropped).

    iter: number

    Number of iterations.

    linearPredictors: number[]

    Linear predictors, one per row, offset included (R's linear.predictors).

    link: string

    The link's name, such as "logit".

    model: GlmModel

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

    nullDeviance: number

    Deviance of the model with the intercept only, or of the empty model without intercept (R's null.deviance).

    priorWeights: number[]

    Prior weights after the response was read (multiplied by the sizes for a two-column binomial response).

    qr: QR | undefined

    QR decomposition of the last weighted least squares problem (undefined for a model without columns).

    rank: number

    Numerical rank of the model matrix.

    residuals: number[]

    Working residuals.

    warnings: string[]

    R's warnings, each once, in order of first appearance.

    weights: number[]

    Working weights of the last least squares step (0 for rows not used).

    y: number[]

    The response as the family reads it (proportions for a two-column binomial response).