calcCONS {casesolver}R Documentation

calcCONS

Description

A function for calculating conservative LR

Usage

calcCONS(mlefitHp, mlefitHd, niter = 2000, delta = 2,
  quantile = 0.05, seed = NULL, verbose = TRUE,
  accRateGolden = 0.25, diffTol = 0.1)

Arguments

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. Should be higher to obtain lower acception rate.

quantile

The quantile used to report conservative LR

seed

The user can set seed if wanted

verbose

Whether progress should be printed

accRateGolden

aimed acceptance rate

diffTol

Difference tolerance regarding acceptance rate

Details

The function calculates LR based on MCMC simulations


[Package casesolver version 1.8.2 Index]