Assessing variation: a unifying approach for all scales of measurement