Case study on Diabetes data
7.6 Diabetes data: A population of 532 women living near Phoenix, Arizona were tested for diabetes. Other information was gathered from these women at the time of testing, including number of pregnancies, glucose level, blood pressure, skin fold thickness, body mass index, diabetes pedigree and age. This information appears in the file azdiabetes.dat. Model the joint distribution of these variables for the diabetics and non-diabetics separately, using a multivariate normal distribution: a) For both groups separately, use the following type of unit information prior, where Sˆ is the sample covariance matrix. i. µ0 = y¯, ?0 = Sˆ; ii. S0 = Sˆ, ?0 = p + 2 = 9 . Generate at least 10,000 Monte Carlo samples for {?d, Sd} and {?n, Sn}, the model parameters for diabetics and non-diabetics respectively. For each of the seven variables j ? {1, . . . , 7}, compare the marginal posterior distributions of ?d,j and ?n,j . Which variables seem to differ between the two groups? Also obtain Pr(?d,j > ?n,j |Y) for each j ? {1, . . . , 7}. b) Obtain the posterior means of Sd and Sn, and plot the entries versus each other. What are the main differences, if any?
Place your order now for a similar paper and have exceptional work written by our team of experts to guarantee you A Results
Why Choose US
6+ years experience on custom writing
80% Return Client
Urgent 2 Hrs Delivery
Your Privacy Guaranteed
Unlimited Free Revisions