calcTippet: calcTippet

View source: R/calcTippet.R

calcTippetR Documentation

calcTippet

Description

Performing tippet/non-contributor analysis for a given set of hypotheses

Usage

calcTippet(
  tipIdx,
  mlefitHp,
  mlefitHd,
  niter = 100,
  type = "MLE",
  LRobs = NULL,
  MLEopt = NULL,
  INTopt = list(reltol = 1, maxEval = 1000, dev = 2),
  seed = NULL,
  verbose = TRUE
)

Arguments

tipIdx

Index in condOrder which are replaced with a random man

mlefitHp

A fitted object returned from calcMLE (under Hp)

mlefitHd

A fitted object returned from calcMLE (under Hd)

niter

Number of drawn non-contributors/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 (Not used since it uses what is stored in mlefit object)

INTopt

INT options (must include reltol, maxEval, dev)

seed

Seed used for reproducibility

verbose

Whether printing the progress. Default is TRUE

Value

returned non-contributor LR values and statistics

Author(s)

Oyvind Bleka


oyvble/euroformix documentation built on April 13, 2025, 3:18 a.m.