You are on page 1of 25

1 SPSS (ver 19) and SOFTSTAT (Ver 8) (Dr See Kin Hai ) How do you prepare a data file?

You define variables by (1) naming the variable, (2) label the variable = a full description of the variable name, (3) give value to the variable= numeric and string can be used, (4) missing values = assign a missing value code as it is not possible to obtain a complete data sets for all cases, (5) variable type = set to numeric with no of decimal places, date, currency, string, (6) column format= adjust the width of data editor columns or to change the alignment of data in the column 1. How do you enter numeric data using the Data Editor?

2. How do you enter String data?

3. How to define data?

How to handle Missing data?

10

11

12

13

14

15

16

17

18

19

How to read data from Exel

20

21

22 Exercise 1 You have surveyed individuals within your local community to determine their attitude towards the development of Hua Ho Manggis shopping complex in Kg Sg Akar. You have collected data on the variables in the table below.

Given the above data, your task is to create a data file in SPSS for Windows. You must define each variable, allocating appropriate variable and value labels and missing values. Data must then be entered and saved in a data file. Exercise 2 Use the Data GRADES.SAV

23

Note: 1=female 2=male Item 5

Item 7: 1=Lower 2=Upper

Item 10 and 11: 1= No 2= Yes

53

80

64

24

25

You might also like