Skip to content
Back to formatted view

Raw Message

Message-ID: <d5d60e2a66694929bdf381f3733c1b6c@UM-MAIL3214.unimaas.nl>
Date: 2022-03-29T20:05:04Z
From: Wolfgang Viechtbauer
Subject: [R-meta] Exponentiating the fixed part of rma.mv output
In-Reply-To: <CA+TgogrJ4A5tkuQGrWCX6ecYSKZRp82ZEp1r8zoGbC+XpLyZNQ@mail.gmail.com>

Dear Stefanou,

When posting to the mailing list, please provide some information about any institutional/organizational affiliation (such as a link to a personal website, university profile page, or social media profile). Thanks!

Best,
Wolfgang

>-----Original Message-----
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-project.org] On
>Behalf Of Stefanou Revesz
>Sent: Tuesday, 29 March, 2022 21:43
>To: R meta
>Subject: [R-meta] Exponentiating the fixed part of rma.mv output
>
>Hello Wolfgang,
>
>I want to exponentiate the fixed part of my model below, is there a
>way to preserve the appearance of the output as in
>`coef(summary(res))` but just display all the columns in their
>exponentiated form?
>
>I did try `predict(res, transf = exp)` but that is not what I'm after.
>
>Thank you,
>Stefanou
>
>## Here is my model:
>d <- read.csv("https://raw.githubusercontent.com/fpqq/w/main/f.csv")
>
>res <- rma.mv(gi ~ teaching_level+pd_format +pd_content +
>                 training_hr +time +outcome +area +
>                 time_wk_whn +time_wk_btw +study_type,
>               V = v_gi,
>               random = ~1|study/obs,
>               data = d)