Coefficient of Inbreeding

The Coefficient of Inbreeding is defined as

F = $$ C = \frac{(N-1) \sum_{i} \sum_{j} w_{ij} (X_i-X_j)^2}{2W \sum_{i}(X_i-\bar X)^2} $$