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

    Interface GlmSummary

    Result of glmSummary: the quantities of R's summary(glm).

    interface GlmSummary {
        covScaled: number[][];
        covUnscaled: number[][];
        dfResidual: number;
        dispersion: number;
        estimate: number[];
        pValue: number[];
        statistic: number[];
        statisticName: "z value" | "t value";
        stdError: number[];
        warnings: string[];
    }
    Index
    covScaled: number[][]

    covUnscaled times the dispersion.

    covUnscaled: number[][]

    (R'R)^-1 of the columns that are not aliased.

    dfResidual: number

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

    dispersion: number

    The dispersion used (estimated, given, or 1 for binomial and poisson).

    estimate: number[]

    The coefficient table of the columns that are not aliased, in their order.

    pValue: number[]

    Two-sided p-values (R's Pr(>|z|) or Pr(>|t|)).

    statistic: number[]

    z or t statistics (see statisticName).

    statisticName: "z value" | "t value"

    "z value" when the dispersion is not estimated (fixed by the family: binomial, poisson; or given as options.dispersion), else "t value".

    stdError: number[]

    Standard errors (R's Std. Error).

    warnings: string[]

    Warnings (such as "observations with zero weight not used for calculating dispersion").