mtpLR: The likelihood ratio test for MTP2

Description Usage Arguments Examples

View source: R/mtpLR.R

Description

Internal funciton that computes the likelihood ratio statistics to test the MTP constraints. It also returns the degrees of freedom and the corresponding p-value.

Usage

1
mtpLR(K, LR, tol = 1e-10)

Arguments

K

an M-matrix that maximizes the likelihood

LR

the value of the likelihood ratio statistics with respect to the unconstrained model

tol

numbers greater than -tol in K are treated as zero (default 1e-8)

Examples

1

pzwiernik/mtp2 documentation built on Aug. 9, 2020, 12:34 p.m.