Reference no: EM133217281
Question: Analyze in R:
The rate of diabetes in the United Kingdom is 3% and based on that, we expect the rate in the district of interest to have a mean of 3% and a standard deviation of 0.5%
A survey of 1,500 persons in the district was conducted and 60 were found to be diabetic
With these thoughts in mind, compute the following:
The prior distribution for the proportion of people with diabetes in the district
The posterior distribution for the proportion of people with diabetes in the district
The posterior mean of the proportion of diabetics
The posterior probability that the proportion of diabetics exceeds 4%
A 95% equal-tailed credible interval for the proportion of diabetics
The prior distribution and the posterior distribution in (a) and (b), respectively