To reiterate, nominal and ordinal variables can be converted to interval scales. The precise nature of this conversion, however, is contingent upon the purpose of optimization. For instance, in the example in which wage was related to popularity, the optimization process was undertaken to maximise the relationship between the variables. In contrast, for the example in which religion was related to self-esteem, the optimization process was designed to explain or represent the similarities between each pair of religions.