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

    Interface GlmOptions

    Options for glm.

    interface GlmOptions {
        epsilon?: number;
        family?: GlmFamilyName | GlmFamilySpec;
        intercept?: boolean;
        link?: GlmLink;
        maxit?: number;
        offset?: Sample;
        start?: Sample;
        weights?: Sample;
    }
    Index
    epsilon?: number

    Convergence tolerance on the relative change of the deviance (R's glm.control(epsilon)). Default 1e-8.

    The family: a name ("gaussian", the default, "binomial", "quasibinomial", "poisson", "quasipoisson", "Gamma", "inverse.gaussian", "quasi") or an object with the link and, for quasi, the variance function, as R's quasi(link = "log", variance = "mu^2").

    intercept?: boolean

    Include an intercept (a column of ones before the columns of x). Default true.

    link?: GlmLink

    The link (overrides the family object's): a name such as "logit" or { power: lambda } (quasi only). As in R, any named link may be used with any family except quasi, which takes only its own list.

    maxit?: number

    Maximum number of iterations. Default 25.

    offset?: Sample

    Offset added to the linear predictor.

    start?: Sample

    Starting coefficients (intercept first).

    weights?: Sample

    Prior weights (non-negative).