Related Experiment Video
Updated: Apr 25, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Cross-validation under separate sampling: strong bias and how to correct it
Ulisses M Braga-Neto1, Amin Zollanvari1, Edward R Dougherty1
1Department of Electrical and Computer Engineering, Center for Bioinformatics and Genomic Systems Engineering and Department of Statistics, Texas A&M University, College Station, TX, 77843, USA Department of Electrical and Computer Engineering, Center for Bioinformatics and Genomic Systems Engineering and Department of Statistics, Texas A&M University, College Station, TX, 77843, USA.
Motivation:
It is commonly assumed in pattern recognition that cross-validation error estimation is 'almost unbiased' as long as the number of folds is not too small. While this is true for random sampling, it is not true with separate sampling, where the populations are independently sampled, which is a common situation in bioinformatics.
Results:
We demonstrate, via analytical and numerical methods, that classical cross-validation can have strong bias under separate sampling, depending on the difference between the sampling ratios and the true population probabilities. We propose a new separate-sampling cross-validation error estimator, and prove that it satisfies an 'almost unbiased' theorem similar to that of random-sampling cross-validation. We present two case studies with previously published data, which show that the results can change drastically if the correct form of cross-validation is used.
Availability And Implementation:
The source code in C++, along with the Supplementary Materials, is available at: http://gsp.tamu.edu/Publications/supplementary/zollanvari13/.
Related Concept Videos
Cluster Sampling Method
To choose a cluster sample, divide the population into clusters (groups) and then randomly select some of the clusters. All the members from these clusters are in the cluster sample. For example, if you randomly sample four departments from your...
One-Way ANOVA: Equal Sample Sizes
Different sample means can result in different values for the variance estimate: variance between samples. This is because the variance between samples is calculated as the product of the sample size and the variance between the...
Bootstrapping
One-Way ANOVA: Unequal Sample Sizes
Random Sampling Method
Sampling Methods: Overview
In analytical chemistry, the choice of...

