Skip to content
Prev 2560 / 5636 Next

[R-meta] compare multiple "bayesmeta" estimates

Dear Simon,

yes, there is a way to investigate the difference of the two as well.
Asking for the difference between the two unknowns (the two mean
parameters) technically means asking for a *convolution* of their
probability distributions. From the "bayesmeta()" output we get the
probability density functions etc, and from these we can derive the
convolution. A method to compute the convolution is described here:

  C. Roever and T. Friede.
  Discrete approximation of a mixture distribution 
  via restricted divergence.
  Journal of Computational and Graphical Statistics, 
  26(1):217-222, 2017.
  https://doi.org/10.1080/10618600.2016.1276840 

and R code is provided in the article's supplemental material.

I attached some R code to show the computations based on the "metafor"
example.

Cheers,

Christian
On Sat, 2020-12-26 at 13:49 -0600, Simon Harmel wrote:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ma-difference.R
Type: text/x-r-source
Size: 6905 bytes
Desc: ma-difference.R
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20201227/2ae7f9ab/attachment.bin>