Models
Age and Gender
Take-away: It is more common for males to have diabetes than females. As age increases, the likeliness of getting diabetes becomes higher and higher. There is a spike at around 80 years old with almost 14 percent of the sample having the disease.
Data Model
stan_glm
family: binomial [logit]
formula: diabetes ~ age + gender
observations: 1250
predictors: 3
------
Median MAD_SD
(Intercept) -4.70 0.35
age 0.04 0.01
genderMale 0.40 0.20
------
* For help interpreting the printed output see ?print.stanreg
* For info on the priors used see ?prior_summary.stanreg
Analysis: The age and genderMale median being positive shows that males are more likely to have diabetes than females and that the likeliness of diabetes increases with age. However, the median absolute deviation indicates that there is some uncertainty regarding the association between gender, age, and diabetes.