You are on page 1of 2

Worksheet 2.

To perform the following functions in SPSS.

Student Name: UID:


Branch: Section/Group
Semester: Date of Performance:
Subject Name Subject Code:

1) Aim/Overview of the practical:


Get a good Understanding of advanced features of SPSS & to understand the context in
which each of these features can be used in effective manner.
2) Task to be done:
To perform the following functions in SPSS
1. Sorting file
2. Split file
3. Compute
4. Recode
5. Select cases

Problem-01:

Create a file in SPSS named file-1 with the following variables and enter the data for 15 respondents
Gender Male Female

Age Less than 25 years 26-40 years 41-60 years 60 and above

Educational High School Diploma Bachelor Degree Masters and above


Qualification
Marital Status Married Unmarried

Occupation Govt Job Private Job Businessman Retired

Others, please specify______


Expenditure Scale variable, Enter the data for 15 respondents.

Consider the file-1 and perform the following tasks


1. Sort the files in terms of Expenditure
2. Split the file on the basis of Gender and find out mean median and Mode of
Expenditure for Males and Females. Also prepare Bar Graph for Educational
Qualification
3. Use Compute variable and perform the following functions
a. Increase Expenditure by Rs 1000
b. Subtract Rs. 500 from the Expenditure
c. Find out Log of Expenditure
Write down steps for performing this experiment and Attach Screen shot of the same.

Problem-02:
4. Recode the variable Expenditure into another variable i.e. Expenditure_New by
changing the value of the expenditure from 20000 to 150000
5. Perform the select case function based on Educational Qualification and select
Bachelor Degree in the file File-1 and Prepare pie chart for Occupations categories:
Govt job, Private job, Businessman, Retired and others.

3) Code for experiment/practical:

Write down the steps of the above problems

4) Output

Attach screen shot of after performing the above functons.

You might also like