Description Usage Arguments Value
A function that calculates bayes factor for each data pair on each grid point in log scale.
1 | bf.cal.meta(data, hyperparam = NULL, bf.only = FALSE)
|
data |
A dataset which is constructed by pairs of coefficient values β and standard errors se(β). |
hyperparam |
A two-dimensional vector denoting all the grid points, namely, φ x ω. |
bf.only |
A boolean, denoting whether this function is called to calculate Bayes factor for META prior only. Usually used when publication bias issue is the target. |
A list records all the log scale bayes factor values or a list records log scale bayes factor for null, reproducible and irreproducible model (when bf.only=TRUE).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.