Index of qualitative variation