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

    Interface OddsRatioResult

    oddsRatio の結果。

    interface OddsRatioResult {
        confInt: [number, number];
        confLevel: number;
        estimate: number;
        method: string;
        pValue: { chiSquare: number; fisher: number; midp: number };
        warnings: string[];
    }
    Index
    confInt: [number, number]

    [lower, upper]。

    confLevel: number

    信頼水準です。

    estimate: number

    オッズ比です: 中央値不偏推定値 ("midp")、条件付き最尤推定値 ("fisher")、または標本のオッズ比 x11 x22 / (x12 x21) ("wald"、"score")。

    method: string

    epitools による方法の説明です (例: "median-unbiased estimate & mid-p exact CI")。

    pValue: { chiSquare: number; fisher: number; midp: number }

    epitools の独立性の p 値です。どの方法でも同じです。

    Type Declaration

    • chiSquare: number

      連続性補正なしの Pearson のカイ二乗検定。

    • fisher: number

      Fisher の両側正確 p 値 (fisherTest と同じ)。

    • midp: number

      両側の mid-p 正確 p 値です: 小さい方の片側 mid-p 値 P(X < a) + P(X = a)/2 の 2 倍です。

    warnings: string[]

    R の警告 ("Chi-squared approximation may be incorrect"。期待度数が 5 未満の場合に出ます)。