You are on page 1of 2

SMA2306 - Probability and Statistics

Worksheet 01 - SPSS
1) Enter this data into a SPSS file and save as “Activity_01”.

2) The table shows details of 15 college students. Five variables are given as follows.

Variable name What it means Type of variable


Name Name of the student String
Age Age of the student Numeric
Gender F=Female, M=Male String
Height Height of the student Numeric
Weight Weight of the student Numeric

Name Age Gender Height Weight


Ruwan 16 M 120 48
Nuwan 18 M 125 52
Nimali 15 F 115 38
Kumari 14 F 120 39
Supun 17 M 120 50
Bandara 18 M 136 52
Fernando 20 F 135 51
Silva 19 F 126 49
Jayalath 21 M 145 48
Kanthi 18 F 120 53
Ruwani 16 F 130 49
Sumudu 16 M 165 55
Hemapala 20 M 138 49
Sithara 21 F 115 39
Dileepa 20 M 140 51
a) Create a SPSS data file and save as “Activity_02”.
b) Create a new variable age_group, having two level as;
1 - less than or equal to 18
2 - greater than 18

In order to do this, use compute command in transform menu.

You might also like