| : The gap statistic for the optimal number of clusters | |
| : The number of bootstrap samples used in the gap statistic method | |
| : The intra-cluster dispersion forcluster in the bth bootstrap sample | |
| : The within-cluster variation forcluster in the original dataset |