If y2 is provided a bootstrapped procedure is used to compare the correlations between y1 and yhat1 versus y2 and yhat2. This is achieved by creating two distributions of correlations using bootstrapping; and then finally compute the distributions overlap.
textPredictTest( y1, y2 = NULL, yhat1, yhat2, paired = TRUE, bootstraps_times = 10000, seed = 6134, ... )
The observed scores (i.e., what was used to predict when training a model).
The second observed scores (default = NULL; i.e., for when comparing models that are predicting different outcomes. In this case a bootstrap procedure is used to create two distributions of correlations that are compared (see description above).
The predicted scores from model 1.
The predicted scores from model 2 that will be compared with model 1.
Paired test or not in stats::t.test (default TRUE).
Number of bootstraps (when providing y2).
Set different seed.
Settings from stats::t.test or overlapping::overlap (e.g., plot = TRUE).
Comparison of correlations either a t-test or the overlap of a bootstrapped provedure (see $OV).