You are on page 1of 3

DAFTECH Computer Engineering SPSS

Final project for SPSS

1. Insert the following data to your SPSS worksheet and save your name
Use an appropriate property for each variable
Code
Sex: -1 for male Dept:-1 for Accounting

2 for female 2 for Management


Missing value
Age: 7777

ID Name Sex Age Date of Dept Salary SPSS Adobe


Birth
E01 Alemu 1 7777 20/3/84 1 780 80 78
E02 Hanna 2 28 15/5/88 2 850 65 69
E03 Daniel 1 25 16/6/90 1 1450 92 81
E04 Selam 2 30 27/10/89 2 1200 70 88
E05 Birhanu 1 27 03/04/85 2 1565 76 94
E06 Mesfin 1 24 08/01/82 2 545 98 62
E07 Yodit 2 22 12/12/83 1 400 55 73

2. Write the syntax to sort date of birth in ascending order.


3. Transpose name with adobe. Save it by the name data1.
4. Calculate sum, Average, Maximum, standard deviation of spss for each
department. Save it by the name data2
5. select those who are female and adobe result is greater than 80 and save it by
data3

-1-
DAFTECH Computer Engineering SPSS
6. Evaluate student by their salary and adobe score. The calculate variable will be
Evaluation. Save it by condition.

If Evaluation

Salary <= 500 and sex =male 10+Spss


Salary <= 800 and sex =male 15+Adobe
Salary <=1000 sex = Female 15% of salary -11
Else 20% of salary +300

7. create the following table


Patient A B C D E F G
No of years 15 22 25 28 30 31 42
Smoked
Lung damage 30 50 55 35 40 42 58
grade

Calculate Spearman’s rank correlation coefficient and comment on the result there
relation.

The straight- line law

8. The number of grams g of a certain detergent, which will dissolve in 100g of


water at temperature Toc is shown in the table.

T(oc) 0 10 20 30 40 50 60 70 80 90 100
G(g) 53.3 59.5 65.2 70.6 75.5 80.2 86.5 90.0 95.0 99.2 104.0

Obtain the equation of the least squares regression line of g on t.


Estimate the value of g for a Temperature of 45oc.

-2-
DAFTECH Computer Engineering SPSS
9. Over a period of time a publishing house records the sales, Y thousand, of 10
$

similar textbooks and amount, x hundreds, spent on advertising each book. The
following table shows the data for the 10 books

X 0.75 3.90 1.65 1.60 4.40 3.05 3.55 2.65 0.45 2.00
Y 2.00 5.35 3.00 2.40 5.95 4.50 4.60 3.65 1.30 3.25
.
a) Find the equation of the regression line of Y on X.
b) Estimate the number of textboxes sold if the publisher spends $375 on
advertising.
c) Create a line chart for the above data.

-3-

You might also like