Skip to content
Prev 5141 / 5636 Next

[R-meta] estimating tau2 under no effect

Just a quick follow-up: It just occurred to me that I also hacked the possibility to fix 'beta' values into rma.mv() at one point (had totally forgotten about this). So this should also work:

dat$id <- 1:k
rma.mv(yi, vi, random = ~ 1 | id, data=dat, beta=0)

This is done in a more crude way, but should work at least for such a case where there really is only an intercept term and we want to fix the intercept to 0.

Best,
Wolfgang
Message-ID: <AS8PR08MB91934D3EC12F8F562270DFF18B2C2@AS8PR08MB9193.eurprd08.prod.outlook.com>
In-Reply-To: <CAKWaqjazW6A5mvEsExrZy+1aWdPGGZnV1nzz_2pnB=zuMtsEiQ@mail.gmail.com>