[R-meta] Question on: models results extracted to tables by a function
Hello Reza, Your advice was indeed very helpful. Regarding the fancy table presentation I found the "flextable" package that I think might do the job -- very similar to those iptables in Jamovi --using the input to flextable as you described in the link you provided. Kind regards, Gabriel
On Fri, Jun 30, 2023 at 9:44?PM Gabriel Cotlier <gabiklm01 at gmail.com> wrote:
Hello Reza, Thank you very much for your clear and concise answer. I also appreciate the guidance and advice you provided. I will go over the information and link you mentioned. Indeed will be of great help. Thank you again. Kind regards, Gabriel On Fri, Jun 30, 2023 at 9:34?PM Reza Norouzian <rnorouzian at gmail.com> wrote:
Dear Gabriel, In short, no such function currently exists in metafor, partly because there is quite a bit of flexibility in models fit by rma.mv. By contrast, standard random-effects models, like the one you're showing, have far less flexibility in their specifications leading to a much more uniform output. Given this uniformity, metafor offers the reporter.rma.uni() function which generates essentially a report-type output that you can edit and use for publication purposes. A question similar to yours regarding rma.mv recently came up on the list ( https://stat.ethz.ch/pipermail/r-sig-meta-analysis/2023-June/004737.html). You can pretty much reconstruct your tables (except the last one) using the quantities discussed there. Regarding your last table, you can use: t(fitstats(your_model)). However, if you necessarily want the log-likelihood from both the max. likelihood and restricted max. likelihood methods for the same model, then, you'll need to fit your model twice, each time setting the "method=" argument in your rma.mv call to one of those two methods. You can also search the metafor's online resources or the listserv's archives for any other quantities (e.g., I^2) that you like to form your desired table(s). Kind regards, Reza On Fri, Jun 30, 2023 at 9:21?AM Gabriel Cotlier via R-sig-meta-analysis < r-sig-meta-analysis at r-project.org> wrote:
Hello all, I would like to ask if there is a function or way that enables to obtain from R the model results for objects class "rma.mv" as fancy table such as like that obtained from Jamovi -MAJOR ourpout for objects class "rma": [image: image.png] [image: image.png] As well as function that enable to automatically perform the comparison between Maximum-likelihood and restricted Maximum-likelihood : [image: image.png] Thanks a lot. Kid regards, Gabriel
_______________________________________________ R-sig-meta-analysis mailing list @ R-sig-meta-analysis at r-project.org To manage your subscription to this mailing list, go to: https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis
-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20230701/19a73dd3/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 39703 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20230701/19a73dd3/attachment-0003.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 28119 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20230701/19a73dd3/attachment-0004.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 42764 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20230701/19a73dd3/attachment-0005.png>