Skip to content
Prev 1664 / 5636 Next

[R-meta] Reproducing results using regtest in metafor

Dear Michael

Many thanks for taking the time to write. (And let me thank you for all your hard work on the R meta-analysis web page - this is a fantastic resource I use all the time)

I think your suggestion is very plausible and I was thinking along related lines. Then I convinced myself that the df used in first regression was reflected in the se of the residuals (in a very "hand wavy" sort of way!) .

As you say, the issue then focuses on which is "better" - my concern with option 1 is that I don't know how to reproduce it outside of the package - but as you say it may well be theoretically superior. 

I am also hoping Wolfgang can supply some definitive insight!

Thanks again

Alex

Alex Sutton
Professor of Medical Statistics

Department of Health Sciences
College of Life Sciences
University of Leicester
George Davies Centre?
University Road
LEICESTER LE1 7RH UK?

Please use Lancaster Road, Leicester, LE1 7HA for SatNav

Member of the Complex Reviews Support Unit
http://www.nihrcrsu.org/


t: +44 (0)116 229 7268
e:? ajs22 at le.ac.uk 
w: www.le.ac.uk

Follow us on Twitter or visit our Facebook page




-----Original Message-----
From: Michael Dewey [mailto:lists at dewey.myzen.co.uk] 
Sent: 09 August 2019 13:19
To: Sutton, Alex (Prof.) <ajs22 at leicester.ac.uk>; r-sig-meta-analysis at r-project.org
Cc: DOLEMAN, Brett (UNIVERSITY HOSPITALS OF DERBY AND BURTON NHS FOUNDATION TRUST) <brett.doleman at nhs.net>; Freeman, Suzanne C. (Dr.) <suzanne.freeman at leicester.ac.uk>
Subject: Re: [R-meta] Reproducing results using regtest in metafor

Dear Alex

I suspect the answer is that regtest.rma refits the model and so "knows" 
you have a moderator and hence loses you a degree of freedom whereas regtest.default does not "know" that and so proceeds as though you had just the single predictor (sei). That probably explains the change in t too although we may need to wait for Wolfgang to give us the definitive answer.

Of course that leaves open the question which is better. I think your option 1 is what I would prefer but that is just based on instainct rather than any higher mathematics.

Michael
On 08/08/2019 17:42, Sutton, Alex (Prof.) wrote:
--
Michael
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dewey.myzen.co.uk%2Fhome.html&amp;data=02%7C01%7Cajs22%40leicester.ac.uk%7Ce117781ca2a44ca568b608d71cc3bd96%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C1%7C637009499341124710&amp;sdata=eIw%2FeMVcYsc8gQBrJkDF77GUTZMZxehWneBmAPG%2FhpQ%3D&amp;reserved=0