To calculate the quantitative distance between a cluster or geographic unit from the measurement criteria, the following formula is used:
In the R package, the distance from success is called validity and the following formula is used:
Where W is the number of workers that live in the cluster and SC is the minimum self-containment (between SSC and DSC) of the cluster.