[R-meta] robust function equivalency in SAS?

Viechtbauer, Wolfgang (SP) wolfgang.viechtbauer at maastrichtuniversity.nl
Fri Apr 27 18:52:02 CEST 2018

Hi Roger,

Check the 'empirical' option in proc mixed:


However, as far as I can tell based on some quick testing, proc mixed does not seem to use any adjustment to empirical var-cov matrix. So, if you want the same results, you will have to use:

robust(res1, cluster=Dataset$experiment, adjust=FALSE)


-----Original Message-----
From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-project.org] On Behalf Of Martineau, Roger
Sent: Friday, 27 April, 2018 16:21
To: r-sig-meta-analysis at r-project.org
Subject: [R-meta] robust function equivalency in SAS?

Dear list members,

I have this 3-level meta-regression model:

(res1  <- rma.mv(MTPY, SEM^2, data=Dataset,
                       mods = ~
                       random = ~1|experiment/study/line,
                       method = "REML", digits=4))
robust(res1, cluster= Dataset $experiment)

Dr. Viechtbauer showed us how to convert a 2-level model from rma.mv into SAS:


Is there a SAS equivalency to compute the robust function to obtain SE and P-values ?

Best regards,

Roger ☺

Roger Martineau, mv Ph.D.
Centre de recherche et de développement
sur le bovin laitier et le porc
Agriculture et agroalimentaire Canada/Agriculture and Agri-Food Canada
Téléphone/Telephone: 819-780-7319
Télécopieur/Facsimile: 819-564-5507
2000, Rue Collège / 2000, College Street
Sherbrooke (Québec)  J1M 0C8
roger.martineau at agr.gc.ca<mailto:roger.martineau at agr.gc.ca>

More information about the R-sig-meta-analysis mailing list