Skip to content
Prev 316524 / 398506 Next

Relative Risk in logistic regression

On Jan 30, 2013, at 5:49 AM, aminreza Aamini wrote:

            
You obtain the predicted probabilities with something like:

predict(model, data.frame(x1="a", x2=30), type = "response")

See ?predict.glm

This would give the odds ratios (similar but larger than the risk  
ratios):

exp(coef(model))