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

    Function glmSummary

    • 一般化線形モデルの要約です。分散パラメータ、係数の表、推定値の共分散行列を含み、glm の当てはめについてのものです。R の summary() と同等です。

      Parameters

      戻り値 GlmSummary

      const fit = glm([1, 2, 3, 4, 5, 6], [0, 0, 1, 0, 1, 1], { family: "binomial" });
      const s = glmSummary(fit);
      s.estimate; // [-4.2491, 1.214]
      s.stdError; // [3.3878, 0.91258]
      s.statisticName; // "z value"