I have been advised that it is best to order categorical variables where appropriate (e.g. short less than medium less than long). I am wondering, what is the specific advantage of treating a categorical variable as ordered as opposed to just simple categorical, in the context of modelling it as an explanatory variable? What does it mean mathematically (in lay terms preferably!)?
Many thanks!
factors
in R) are represented by integers. Soc("Small", "Small", "Small", "Medium", "Large", "Large")
would be representedc(1,1,1,2,3,3)
internally. – Señor O Feb 5 '14 at 18:11