How to quantify competitive ability