You are on page 1of 2

The following hypothetical data-set consists of information regarding 25 employees in an organization.

There are 6 variables which are described below.

Variable Description

Variable Name Meaning Value-Label

EDU Years of educational


GEN Gender 0=Male; 1=Female
MIN Minority Classification 0=No; 1=Yes
CUR Current Salary
BEG Beginning Salary
EXP Previous experience in months

Data Description

ED GEN MIN CUR BEG EXP


1 15 1 1 57000 27000 144
2 16 1 0 40200 18750 36
3 12 1 0 21450 12000 381
4 8 1 0 21900 13200 190
5 15 0 1 45000 21000 138
6 15 0 0 32100 13500 67
7 15 0 0 36000 18750 114
8 12 1 0 21900 9750 0
9 15 0 1 27900 12750 115
10 12 0 0 24000 13500 244
11 16 0 0 30300 16500 143
12 8 0 0 28350 12000 26
13 15 1 0 27750 14250 34
14 15 0 0 35100 16800 137
15 12 0 0 27300 13500 66
16 12 0 1 40800 15000 24
17 15 1 1 46000 14250 48
18 16 0 0 103750 27510 70
19 12 0 0 42300 14250 103
20 12 0 0 26250 11550 48
21 16 0 0 38850 15000 17
22 12 1 0 21750 12750 315
23 15 1 0 24000 11100 75
24 12 0 0 16950 9000 124
25 15 1 1 21150 9000 171

1
1. Compute a new variable called “DEVIATION”for only the female employees, by using the following
formula:

DEVIATION=(CUR-BEG)/ED

2. (i) Sort the variable BEG in ascending order.

(ii) Tabulate the values of the mean, standard deviation, skewness and kurtosis of the BEG variable, only
for those employees who belong to the minority community.

3. Recode the EXP variable into a different variable called “EXP_CAT” and label it with the phrase:
“Experience Category”. Use the following information to do so:

Experienc
EXP
e Category

Less than 24 Fresher

25 to 60 Trainee

61 to 120 Supervisor

121 to 180 Expert

More than 180 Senior

4. Draw a box plot with the boxes representing the variable ED, and assign a suitable title to your chart.

5. Obtain the linear regression analysis for the independent variable ED with the dependent variable CUR.
[4]

You might also like