Skip to content
Prev 1725 / 5636 Next

[R-meta] setting certain covariances to 0 for the random LHS term

Hi Gil,

How about using struct="HCS"? That will give you different tau^2 values for each treatment, but assumes that there is a single correlation parameter. See help(rma.mv) and search for "heteroscedastic compound symmetric structure". That might be more feasible with your data, even when distinguishing the sub-treatments (since the number of correlation parameters doesn't 'explode' then).

Best,
Wolfgang

-----Original Message-----
From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-project.org] On Behalf Of Gram, Gil (IITA)
Sent: Thursday, 05 September, 2019 14:04
To: r-sig-meta-analysis at r-project.org
Subject: Re: [R-meta] setting certain covariances to 0 for the random LHS term

Hi Wolfgang,

Indeed, let me try to explain briefly but better;

We have ?2500 maize yield data under 4 different treatments, Control (no input), OR (organic input), MR (mineral input), and ORMR (combined organic and mineral input). However, we also have sub-treatments as for all the organic treatments (OR and ORMR) we have different 4 different kinds of organic input, i.e. class 1, 2, 3, and Manure.

We are interested in (1) the effect of treatment on yield, but also in (2) the effect of treatment on yield variability (variance across each treatment). We were hoping to get the latter from the random variance components, but as you have seen, quite impossible to get the variances at sub-treatment level. So I?m trying to find alternative ways, and one I considered was having the full model for question (1) but separate models for question (2) where I run the model on OR type subsets of the data.

I am aware that ideally we want to stick to one model, but maybe for what I need this is OK? Of course I?m interested in any other suggestions!

thanks,
Gil