In: Math
The R library faraway contains the pima dataset. We will fit a model with test as a response and bmi (only) as a predictor to see the relationship between the odds of a patient showing signs of diabetes and his/her bmi. The odds o and probability p are related by:
o = p/(1-p), p = o(1+o)
Using the GLM function:
a. Please estimate the amount of increase in the log(odds) when the bmi increases by 10.
b. Give a 95% CI for the estimate.
95% CI for bmi = intercept +/- z * std error
where z for 95% conf interval is -/+1.96
0.09353 +/- 1.96 * 0.01205
So., the 95% CI is 0.069912 to 0.117148
Hope the above answer has helped you in understanding the problem. Please upvote the ans if it has really helped you. Good Luck!!