cvq2.setB: Small data set to demonstrate the difference between the conventional squared correlation coefficient and the predictive squared correlation coefficient while performing a cross validation.
Description
Contains a small data set with six observations, the observed value y depends on the parameter $x$.
If a cross validation is applied to the data set, the resulting $q^2_{cv}$ value is much smaller than the $r^2$ value.
The cross validation can be performed with various settings, like multiple runs (nRun = 2...x) with various compilations of training and data sets.
Furthermore the number of test sets can be adjusted (nGroup = 1...3).