Module: Mexico::Constants::ScaleModes

Defined in:
lib/mexico/constants.rb

Overview

Scale modes are categories of scales based on the publication by S. S. Stevens (Stevens, S. S. (1946). On the Theory of Scales of Measurement. Science, 103(2684), pp.677-680). scales have different properties and allow different operations depending on their level.

Constant Summary collapse

NOMINAL =

The nominal scale is the simplest scale mode. It makes equality / inequality operations available.

"nominal"
ORDINAL =

The ordinal scale mode is the next mode after the nominal mode. Besides all operations of the nominal mode, it makes an ordering operations and comparisons available.

"ordinal"
CARDINAL =

The cardinal scale mode is the next mode after the ordinal mode. Besides all operations of the ordinal mode, it makes operations and comparisons based on distances or metrics available.

"cardinal"
RATIO =

The ratio scale mode is the next mode after the cardinal mode. Besides all operations of the cardinal mode, it makes operations and comparisons based on a zero point available.

"ratio"