margLik {ppRep} | R Documentation |
Marginal likelihood of replication effect estimate
Description
This function computes the marginal likelihood of the
replication effect estimate tr
under the power prior model
with and
using numerical integration.
Usage
margLik(tr, to, sr, so, x = 1, y = 1, m = 0, v = Inf, ...)
Arguments
tr |
Effect estimate of the replication study. |
to |
Effect estimate of the original study. |
sr |
Standard error of the replication effect estimate. |
so |
Standard error of the replication effect estimate. |
x |
Number of successes parameter of beta prior for |
y |
Number of failures parameter of beta prior for |
m |
Mean parameter of initial normal prior for |
v |
Variance parameter of initial normal prior for |
... |
Additional arguments passed to |
Value
Marginal likelihood
Author(s)
Samuel Pawel
[Package ppRep version 0.42.3 Index]