Description Usage Arguments Details Value Author(s) See Also Examples

Value of the definite (two-dimensional) integral of L, evaluated around the distribution's mean (for mu), and between 0 and 1 (for eta)

1 | ```
mass(y, sig, sig_prior = 2, Z = 1.96)
``` |

`y` |
a vector of length n (n=number of studies) representing the effect (standardized mean difference) |

`sig` |
a vector of length n (n=number of studies) representing the corresponding sampling standard deviation sqrt(variance) |

`sig_prior` |
a numeric entry representing the standard deviation's prior; default: 2 |

`Z` |
a numeric entry representing the Z value; default: 1.96 |

This is an auxiliary function to obtain the definite integral of L,
evaluated around the distribution's mean (for mu) and between 0 and 1 for eta.
It calls the `logL`

function, and solves the integral using `integrate`

from the `cubature`

package.
The output is later called by `BFbias`

to compute the Bayes Factor.

the value of the definite (two-dimensional) integral of the L distribution, evaluated around the distribution's mean (+-10 standard deviations, for mu), and between 0 and 1 (for eta)

Aldo Cordova-Palomera

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.