Solved – Nominal/Ordinal and scale in SPSS OLS regression

categorical datamultiple regressionordinal-dataregressionspss

I'm running an OLS regression in SPSS and have a question about models that feature both Scale and Nominal/Ordinal variables. I say nominal/ordinal because the variables I'm looking at range from 0-2, with 0 representing a restricted worker's rights condition, 1 a somewhat restricted condition, and 2 an unrestricted condition. So I feel since it has a logical progression from least to most freedom, that it could well be ordinal.
Does such a variable require recoding if I included it in a model that also features scale variables? My DV is also scale.

Thank you!

Best Answer

Categorical variables, whether nominal or ordinal, should be recoded to dummies for use in ordinary regression. (The STATS CREATE DUMMIIES or Data > Create Dummy Variables extension command can do this for you conveniently, although with only three known value, COMPUTE would be adequate.) Or you could use GLM, which understands factors.

It does not matter for OLS whether these are considered nominal or ordinal. However, if you have the Categories option, Analyze > Regression > Optimal Scaling can find an optimal scale for your categorical variables in a regression.