IC_OR_glm function

OR and their confidence intervals for logistic regressions

OR and their confidence intervals for logistic regressions

Computes odd ratios and their confidence intervals for logistic regressions

IC_OR_glm(model, alpha = 0.05)

Arguments

  • model: a glm object
  • alpha: type I error, 0.05 by default

Returns

A matrix with the estimaed coefficients of the logistic model, their s.e., z-values, p-values, OR and CI of the OR

Examples

IC_OR_glm(glm(inherit~sex+age,data=cgd,family="binomial"))

Author(s)

Hugo Varet

  • Maintainer: Hugo Varet
  • License: GPL (>= 2)
  • Last published: 2025-03-24

Useful links