Skip to content
Prev 37 / 5632 Next

[R-meta] Peters test in metafor

Thank you both.

I hope that you do not mind follow-up questions so that I can implement
this correctly.

In regard to: with(data, regtest(logrr, sei=sei, ni=ni, model="lm",
predictor="ninv"))

1. Is it acceptable if studies are a mixture of case-control and cohort
studies? (I know it is acceptable for meta-analysis generally, but is it OK
for Peters given the fact sample size is used for weighting and there are
such large differences in sample sizes of case-control cf. cohort studies?)

2. By total sample size, what does this mean in the context of categorical
exposures? For example, for an RR of a disease for highest vs lowest tea
consumption, is the total sample size the number of participants in the
highest and lowest categories only (i.e. excluding participants in the
medium categories between highest and lowest)?

3. Is there any (simple) way to use person years where sample size is not
available?

Thank you so much

On Fri, Jul 14, 2017 at 6:06 PM, Viechtbauer Wolfgang (SP) <
wolfgang.viechtbauer at maastrichtuniversity.nl> wrote: