(7)
Where N(h) is the number of sample pair