rStats.js v1.3.0
    検索インデックスを準備しています...

    Interface CoxphOptions

    coxph のオプション。

    interface CoxphOptions {
        cluster?: readonly (GroupLabel | null)[];
        confLevel?: number;
        control?: CoxphControl;
        init?: readonly number[];
        nocenter?: readonly number[];
        robust?: boolean;
        strata?: readonly (GroupLabel | null)[];
        ties?: "efron" | "breslow";
        weights?: readonly number[];
    }
    Index
    cluster?: readonly (GroupLabel | null)[]

    ロバスト分散のための、観測値ごとに 1 つのクラスターのラベルです (R の cluster)。同じクラスターの観測値は、相関していると扱われます。欠測のラベル (null または NaN) の行は、欠測の層の行と同じく除かれます。これがない場合は、観測値ごとに独自のクラスターになります。少なくとも 2 つのクラスターが必要です。

    confLevel?: number

    exp(coef) の区間の信頼水準。既定は 0.95。

    control?: CoxphControl

    CoxphControl を参照してください。

    init?: readonly number[]

    開始時の係数。既定は 0。

    nocenter?: readonly number[]

    値がすべてこの集合に含まれる共変量は、中心化もスケーリングもされません。既定は [-1, 0, 1]。

    robust?: boolean

    ロバスト (Lin-Wei のサンドイッチ) 分散を使うかどうかです。既定は R と同じく、cluster を指定したとき、または観測値の重みに整数でないものがあるときは true、それ以外は false です。false のとき、cluster は無視されます (R の警告を伴います)。

    strata?: readonly (GroupLabel | null)[]

    観測値ごとの層のラベル。層ごとに別々のベースラインハザードを持ちます。

    ties?: "efron" | "breslow"

    同順位のイベント時刻の扱い。既定は "efron"。

    weights?: readonly number[]

    観測値の重み (正の値) です。整数でない重みがあると、ロバスト分散が有効になります (robust を参照)。