wilcoxTestTargetY {CondIndTests} | R Documentation |
Wilcoxon test to compare two mean squared error rates.
Description
Used as a subroutine in InvariantTargetPrediction
to test
whether out-of-sample performance is better when using X and E as predictors for Y,
compared to using X only.
Usage
wilcoxTestTargetY(Y, predictedOnlyX, predictedXE, verbose, ...)
Arguments
Y |
An n-dimensional vector. |
predictedOnlyX |
Predictions for Y based on predictors in X only. |
predictedXE |
Predictions for Y based on predictors in X and E. |
verbose |
Set to |
... |
Argument to allow for coherent interface of fTestTargetY and wilcoxTestTargetY. |
Value
A list with the p-value for the test.
[Package CondIndTests version 0.1.5 Index]