# Nominal data multiple regression analysis

I have been given the following data and am supposed to build a multiple regression model to be able to predict the price of a car:

1. Price of Car - SPSS Measurement = Scale

2. Mileage of Car - SPSS Measurement = Scale

3. Age of Car - SPSS Measurement = Scale

4. Number of Previous Owners - SPSS Measurement = Nominal

5. Brand ID - SPSS Measurement = Nominal

I am not sure if the Number of Previous Owners has been categorised properly, and if I should treat it as a dummy variable. Please advice!

Thanks

• Is this homework? If so, it should have the homework tag. And welcome to the site – Peter Flom Jan 26 '13 at 14:42

"A variable can be treated as nominal when its values represent categories with no intrinsic ranking; for example, the department of the company in which an employee works. Examples of nominal variables include region, zip code, or religious affiliation."

"A variable can be treated as scale when its values represent ordered categories with a meaningful metric, so that distance comparisons between values are appropriate. Examples of scale variables include age in years and income in thousands of dollars."

(Source: SPSS User Guide)

Nominal deals with words such as blue eyes or brown eyes to categorize. ordinal means that there is a rank such as first second or third place, interval means that there is not a true zero, such as zero degrees does not mean no temperature, or 80 degrees is not twice as hot as 40 degrees. Ratio, is a measure where zero has meaning. Such as no cars really mean no cars and 4 cars are twice as much as 2 cars. Or such as "zero number of previous owners", meaning that the car is new and thus had no previous owner. So I think unless otherwise tabulated, your variable of interest "Number of Previous Owners" should be a scale variable.

"Number of Previous Owners" is definitely not a nominal variable, so first you need to understand why SPSS tells you the opposite (Perhaps in your data set, the numbers have been replaced by text and that's why SPSS would consider this variable as being nominal).

To know how you are going to analyse this variable, you need to look at its distribution. If the "Number of Previous Owners" is clustered around a limited number of modalities (say 3, 5, 8), then you could treat this variable as a categorical (In comparison, "age" is often transformed into an "age group" variable).

If your variable is pretty well distributed (continuous + uni-modal), I would simply treat it as a continuous variable - But before taking this decision it is important to best understand the behaviour of your variable.