Skip to content
Prev 92 / 5632 Next

[R-meta] network meta-analysis - include block (within-study) level

Just a quick note: This is a plain text mailing list. Using HTML in posts can throw off the formating and make it impossible to distinguish who said what. So, in general, when posting, make sure to stick to plain text mails and format posts accordingly.

I think I now have a general understanding of your data structure and what you are doing. Some final thoughts:

1) If you include block as an effect in the ANOVAs, you must include block in whatever model you are going to fit afterwards. In particular, by including block as an effect in the ANOVAs, you are removing that source of variability from the residual variance. But the variance of a raw yield value is sigma^2_block + sigma^2_resid. By using the MSE for the variance, the sampling variance will only reflect sigma^2_resid, so you need to account for the block level variance in whatever model you fit afterwards.

2) Using MSE/n (with n = 4/5) only makes sense if you are averaging within blocks (which you seem to be doing at the end). But even that is only approximate. Multiple yield values within the same block are correlated sigma^2_block / (sigma^2_block + sigma^2_resid) -- but MSE/n assumes independence.

3) Below, you end up constructing a dataset with yield values averaged within blocks. Now I don't understand the original question anymore, because in such a dataset, one cannot include block as another random effect. Also, see 1) -- in such a dataset, you cannot account for the block level variance.

I still think you may want to analyze your data (not aggregated in any way) with a mixed-effects model directly, allowing for trial and block level variance (plus residual variance). In this case, you are making things more difficult by trying to do a two-stage analysis.

Best,
Wolfgang