95% prediction interval for new obs from same cluster populations
Posted: Tue Nov 26, 2019 10:13 am
Hello,
Using MCMC I have fitted a multivariate normal 3-level cross-classified model with random intercepts at each level. In my data, surgeons have conducted eye-operations, where a patient may have had a single eye operation or two separate eye operations conducted by the same surgeon or different surgeons. The outcome of interest is a 3-component continuous measure of vision. Of interest is if the presence of pre-existing condition diabetes (yes/no) affects the outcome of the surgery.
I want to calculate a 95% interval that tells me the range of values I would see among new eye operations conducted on individuals from the same population of patients and operated on by the same population of surgeons. So, I want to calculate a 95% interval for new eye-operations on people with diabetes and a 95% interval for new eye-operations on people without diabetes.
My thinking on how to do calculate a 95% interval is as follows:
1) After convergence, run the MCMC chain for say 1000 iterations.
2) For each iteration:
(a) Draw a random intercept at level 3 and at level 2 (from a multivariate normal distribution) using the current estimates of the random covariance matrix.
(b) Use the random draws from (a) and current estimates of the fixed effects to generate a new predicted value (e.g., fixed effects + random effect draws)
3) Use the 2.5% and 97.5% of the distribution of predicted values in step 2 as my 95% prediction interval.
Is this a sensible approach? I can see that it accounts for uncertainty in the fixed-effect coefficients and random variance parameters but not the residual variance. Is there a simpler approach?
Thanks in advance
Rach
Using MCMC I have fitted a multivariate normal 3-level cross-classified model with random intercepts at each level. In my data, surgeons have conducted eye-operations, where a patient may have had a single eye operation or two separate eye operations conducted by the same surgeon or different surgeons. The outcome of interest is a 3-component continuous measure of vision. Of interest is if the presence of pre-existing condition diabetes (yes/no) affects the outcome of the surgery.
I want to calculate a 95% interval that tells me the range of values I would see among new eye operations conducted on individuals from the same population of patients and operated on by the same population of surgeons. So, I want to calculate a 95% interval for new eye-operations on people with diabetes and a 95% interval for new eye-operations on people without diabetes.
My thinking on how to do calculate a 95% interval is as follows:
1) After convergence, run the MCMC chain for say 1000 iterations.
2) For each iteration:
(a) Draw a random intercept at level 3 and at level 2 (from a multivariate normal distribution) using the current estimates of the random covariance matrix.
(b) Use the random draws from (a) and current estimates of the fixed effects to generate a new predicted value (e.g., fixed effects + random effect draws)
3) Use the 2.5% and 97.5% of the distribution of predicted values in step 2 as my 95% prediction interval.
Is this a sensible approach? I can see that it accounts for uncertainty in the fixed-effect coefficients and random variance parameters but not the residual variance. Is there a simpler approach?
Thanks in advance
Rach