Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For 10 coins, let i denote the probability of a head for coin i. You flip each coin 5 times. The sample numbers of heads
For 10 coins, let i denote the probability of a head for coin i. You flip each coin 5 times. The sample numbers of heads are (2,4,1,3,3,5,4,2,3,1)
- (a)If we are interested in estimating i, does it make more sense to use a GEE or a GLMM for this model?
- (b)Fit a random effects model to this data and obtain predicted values {i}
- (c)Make a plot to compare the predicted probabilities from (b) and the sample proportions.
- What do you see?
- (d)Suppose now that the true values are i = 0.5 for all i. Calculate the mean squared error of your estimates as well as for the sample proportions. The mean squared error is calculated as the average squared difference between your estimate and the truth.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started