Question: Use pima dataset in R, can use glm function Accessing the data: https://drive.google.com/file/d/1hVzYeNjFTCytuWwnMF1X5VF9Katq2Zse/view?usp=sharing > load(assign1.Robj) > str(pima_subset) or use package farawy in r. As library(faraway)
Use pima dataset in R, can use glm function
Accessing the data:
https://drive.google.com/file/d/1hVzYeNjFTCytuWwnMF1X5VF9Katq2Zse/view?usp=sharing
> load("assign1.Robj")
> str(pima_subset)
or
use package farawy in r. As library(faraway), then data(pima).
We will fit a model with test as a response and bmi 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).
(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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
