Based on a dviData object, or output from dviJoint()``or jointDVI()`,
the GLR, the ratio of the maximum likelihood under H0 to the maximum under H1,
is calculated for specified hypotheses.
A data frame with GLRs and SGLR (strict GLR, max replaced by min in
the numerator).
Arguments
dvi
A dviData object.
pairings
List. See details.
dviRes
data frame. Output from jointDVI().
Details
The Generalised Likelihood Ratio (GLR) statistic is defined as the
ratio of the maximum likelihood for the alternatives in the numerator
to the maximum in the denominator. The default
pairings = dvir::generatePairings(dvi) tests all hypotheses. Specific
tests can be specified as shown in an example:
pairings = list(V1 = "M1") gives a test for H0: V1 = M1 against
H1: V1 != M1. dviRes will be calculated using jointDVI() if not provided.