calcLRint | R Documentation |
Calculating marginal likelihood based on integration
calcLRint(
mlefitHp,
mlefitHd,
reltol = 1,
maxEval = 1000,
dev = 2,
verbose = TRUE
)
mlefitHp |
A fitted object returned from calcMLE (under Hp) |
mlefitHd |
A fitted object returned from calcMLE (under Hd) |
reltol |
Required relative tolerance error of evaluations in integration routine |
maxEval |
Maximum number of evaluations in the integration routine function. |
dev |
Scaling relative to 2*SE (i.e. 97.5 percentile). Should cover most of posterior distribution |
verbose |
Whether printing simulation progress. |
The procedure is a wrapper for the numerical integration function for obtaining Bayes Factor
returned inferred LR with error range (reflects relative error)
Oyvind Bleka
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.