Summary of a generalized linear model: the dispersion, the coefficient table and the covariance of the estimates, for a glm fit. Equivalent to R's summary().
glm
summary()
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" Copy
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"
Summary of a generalized linear model: the dispersion, the coefficient table and the covariance of the estimates, for a
glmfit. Equivalent to R'ssummary().