calcTippet: calcTippet

View source: R/calcTippet.R

calcTippetR Documentation

calcTippet

Description

Performing tippet analysis for a given model

Usage

calcTippet(
  tipIdx,
  mlefitHp,
  mlefitHd,
  niter = 100,
  type = "MLE",
  LRobs = NULL,
  MLEopt = NULL,
  INTopt = NULL,
  seed = NULL,
  verbose = TRUE
)

Arguments

tipIdx

Index in condOrder which are replaced with a random man

mlefitHp

A fitted object returned from contLikMLE (under Hp)

mlefitHd

A fitted object returned from contLikMLE (under Hd)

niter

Number of non-contributor iterations

type

type of Tippet analysis to conduct (MLE or INT)

LRobs

The user can send an observed LR to superimpose to the plot

MLEopt

MLE options (must include nDone, steptol, delta, difftol, seed is optional)

INTopt

INT options (must include reltol, maxEval, dev)

seed

Seed used for reproducibility. Note that seed can also be a variable in MLEopt option

verbose

Whether printing simulation progress. Default is TRUE

Details

The procedure is a wrapper for the numerical integration function.

Value

returned non-contributor LR values

Author(s)

Oyvind Bleka


oyvble/euroformix documentation built on Aug. 25, 2023, 11:14 a.m.