calcLRmcmc | R Documentation |
A function for calculating LR from MCMC simulations
calcLRmcmc(
mlefitHp,
mlefitHd,
niter = 2000,
delta = 2,
quantile = 0.05,
seed = NULL,
accRate = 0.25,
accRateTol = 0.1,
niterTune = 200,
diffSeed = 999,
verbose = TRUE,
traceplot = TRUE,
mcmcObjList = NULL
)
mlefitHp |
A fitted object returned from contLikMLE (under Hp) |
mlefitHd |
A fitted object returned from contLikMLE (under Hd) |
niter |
Number of samples in the MCMC-sampling. |
delta |
A numerical parameter to scale with the covariance function Sigma. Default is 2. Will be tuned automtically. |
quantile |
The quantile used to report conservative LR |
seed |
The user can set seed if wanted |
accRate |
aimed acceptance rate |
accRateTol |
Difference tolerance regarding acceptance rate |
niterTune |
Number of samples for tuning delta in the MCMC-sampling. |
diffSeed |
Seed difference |
verbose |
Whether progress should be printed |
traceplot |
Whether to add a traceplot with 95% CI |
mcmcObjList |
A list with hp/hd earlier run with contLikMCMC output |
Returns a conservative (quantile) LR or a Full Bayesian based LR
A list with different LR statistics from the MCMC based simulations
Oyvind Bleka
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.