Learn R Programming

packHV (version 2.4)

IC_OR_glm: OR and their confidence intervals for logistic regressions

Description

Computes odd ratios and their confidence intervals for logistic regressions

Usage

IC_OR_glm(model, alpha = 0.05)

Value

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

Arguments

model

a glm object

alpha

type I error, 0.05 by default

Author

Hugo Varet

Examples

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

Run the code above in your browser using DataLab