Used as a subroutine in InvariantConditionalQuantilePrediction
to test whether the exceedance of the conditional quantiles
is independent of the categorical variable E.
fishersTestExceedance(Y, predicted, E, verbose)
An n-dimensional vector.
A matrix with n rows. The columns contain predictions for different conditional quantiles of Y|X.
An n-dimensional vector. E
needs to be a factor.
Set to TRUE
if output should be printed.
A list with the p-value for the test.