Skip to content
Prev 1456 / 5636 Next

[R-meta] Different outputs by comparing random-effects model with a MLMA without intercept

Dear Rafael,

Let's try this again (instead of sending an empty mail -- sorry about that!).

Indeed, the results differ because model2 estimates the variance components only based on the subset, while model1 estimates those variances based on all data. You would have to allow the variance components to differ for the "no" and "yes" levels of 'potential_sce' in 'model1' for the results to be identical. Actually, even then, I don't think you would get the exact same results, since you make use of the 'R' argument. Due to the correlation across species, the estimate (and SE) of 'potential_sceno' and 'potential_sceno' will be influenced by whatever species are included in the dataset. In the subset, certain species are not included (240 instead of 348), which is another reason why there are differences.

Best,
Wolfgang

-----Original Message-----
From: Michael Dewey [mailto:lists at dewey.myzen.co.uk] 
Sent: Thursday, 07 March, 2019 18:06
To: Rafael Rios; Viechtbauer, Wolfgang (SP); r-sig-meta-analysis at r-project.org
Subject: Re: [R-meta] Different outputs by comparing random-effects model with a MLMA without intercept

Dear Rafael

I think this may be related to the issue outlined by Wolfgang in this 
section of the web-site

http://www.metafor-project.org/doku.php/tips:comp_two_independent_estimates

Michael
On 07/03/2019 16:46, Rafael Rios wrote: