23.07.2013 Views

Basic data operations in SPSS - ISS - University of Leeds

Basic data operations in SPSS - ISS - University of Leeds

Basic data operations in SPSS - ISS - University of Leeds

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Basic</strong> <strong>data</strong> <strong>operations</strong> <strong>in</strong> <strong>SPSS</strong> for W<strong>in</strong>dows 17<br />

Version 6 (November 2009)<br />

Activity 7.5 Use the Variable View w<strong>in</strong>dow to def<strong>in</strong>e value labels for <strong>in</strong>crange as follows:<br />

Code Value label<br />

1 Legacy Dialogs<br />

…Bar on the variable <strong>in</strong>crange. Your graph should resemble Figure 22.<br />

Figure 22: Bar chart <strong>of</strong> the variable <strong>in</strong>crange<br />

Figure 23 shows the <strong>SPSS</strong> commands used to perform the transformation.<br />

RECODE <strong>in</strong>come<br />

(Lowest thru 10000=1) (10000 thru 20000=2)<br />

(20000 thru 30000=3) (30000 thru 40000=4)<br />

(40000 thru 50000=5) (50000 thru 60000=6)<br />

(60000 thru Highest=7) INTO <strong>in</strong>crange .<br />

VARIABLE LABELS <strong>in</strong>crange 'Income Range'.<br />

EXECUTE .<br />

Figure 23: RECODE <strong>in</strong>to ‘Different Variable’<br />

Information Systems Services Page 20 <strong>of</strong>36<br />

Version 4.1 (December 2006) tut113_vn17nov2009.doc}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!