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

    Interface VcovCLOptions

    Options for vcovCL.

    interface VcovCLOptions {
        cadjust?: boolean;
        cluster?:
            | Float64Array<ArrayBufferLike>
            | Int32Array<ArrayBufferLike>
            | readonly ClusterLabel[]
            | readonly (
                | Float64Array<ArrayBufferLike>
                | Int32Array<ArrayBufferLike>
                | readonly ClusterLabel[]
            )[];
        fix?: boolean;
        multi0?: boolean;
        sandwich?: boolean;
        type?: VcovCLType;
    }
    Index
    cadjust?: boolean

    Multiply each clustering term by G / (G - 1), G its number of clusters. Default true.

    cluster?:
        | Float64Array<ArrayBufferLike>
        | Int32Array<ArrayBufferLike>
        | readonly ClusterLabel[]
        | readonly (
            | Float64Array<ArrayBufferLike>
            | Int32Array<ArrayBufferLike>
            | readonly ClusterLabel[]
        )[]

    The clusters: one label per input row of the fit (the rows the fit dropped for a missing value are dropped here too), an array or a typed array, or for multi-way clustering an array of such arrays, one per clustering dimension. Default: every observation its own cluster.

    fix?: boolean

    Set negative eigenvalues of the result to 0. Default false.

    multi0?: boolean

    Multi-way clustering: use clusters of one observation for the intersection of all dimensions. Default false.

    sandwich?: boolean

    Return the sandwich (default true) or the meat only (false).

    type?: VcovCLType

    "HC0" (alias "HC"), "HC1", "HC2" or "HC3". Default "HC1" for an lm fit and "HC0" for a glm fit, as sandwich.