Skip to content
Prev 5280 / 5632 Next

[R-meta] errors returned by rma() and rma.mv() when fitting a large dataset

Dear Wolfgang,

Thank you for your swift reply.

A quick update:


  *
1.  trimfill() function in meta package also returns me the same error. This happened when I fit the RE model using metagen() function:
metagen(TE = mu_adj, seTE = se_adj,
                   studlab = id, data = dat_med,
                   fixed = FALSE, random = TRUE,
                   method.tau = "REML", hakn = TRUE)
  *
I tried selection model implemented in other packages like weight:
weightfunct(effect = dat_med$mu_adj, v = dat_med$se_adj^2, steps = c(0.025), table = TRUE)

          and metasens:
         metagen(mu_adj, se_adj, method.tau="ML", data=dat_med) & copas(res)

Both leads to error caused by the k*k matrices. I did not try what Wolfgang suggested because I do not know how to do it:
"If so, you could take the rma.mv results, stuff them into an object that has the structure of a rma.uni object, and then call selmodel() on that object. "

My ultimate aim is to test whether a dataset has publication bias. I would like to use multiple methods, like Egger's regression, selection model, trim and fill. But now it seems that I can only use Egger's regression (lm() version or rma.mv() version).

What do you think if I randomly sample a certain number of estimates from my big dataset and run selection model and trim-and-fill, and I repeat this many times? Of course, 'a certain number of estimates' should not induce the matrix issue.

Best regards,
Yefeng
Message-ID: <MEAPR01MB54158E32F1CB47F74A780B6A9DF42@MEAPR01MB5415.ausprd01.prod.outlook.com>
In-Reply-To: <DU0PR08MB92010901ED9F67F01E7148EB8BEB2@DU0PR08MB9201.eurprd08.prod.outlook.com>