Question
No 1:
The data given below represents the ages of 10 persons.
Create SPSS data file by entering the following data and for variable Age
use recode into different variable to create classes for the data giving
code "I" to ages between 75 - 90, code 2 to ages between 61 - 75,
code 3 to ages between 41 - 60 and code 4 to ages between 30 - 40. Find the
frequency tables for new variables.
Ages of 10 persons |
||||||||||
Sr no. |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
Age |
34 |
82 |
75 |
60 |
55 |
70 |
69 |
55 |
42 |
38 |
Note:
Write related SPSS commands. Also, copy the results from output file of SPSS
and paste here in this file.
10 student score is given
CODE is given according to score
obtain
If score between 75 - 100
given them to code 1
If score between 61- 75
given them to code 2
If score between 41 - 60
given them to code 3
If score between 0 - 40
given them to code 4
Sr. No |
student obtain score |
obtain code |
1 |
58 |
3 |
2 |
86 |
1 |
3 |
74 |
2 |
4 |
60 |
3 |
5 |
35 |
4 |
6 |
70 |
2 |
7 |
69 |
2 |
8 |
55 |
3 |
9 |
42 |
3 |
10 |
37 |
4 |
Upon the above table we can
clearly see that
Coda 1 get 1 student out of
the 10
Code 2 get 3 student out of
the 10
Code 3 get 4 student out of
the 10
Code 4 get 2 student out of
the 10
We can obtain frequency
table upon the above tha data
CODE obtain |
frequency |
1 |
1 |
2 |
3 |
3 |
4 |
4 |
2 |
Above table is frequency
table of given score data
Question No. 2
[3
marks]
Use
the data file, “coffee.sav”. Calculate the following for the variable “freq”.
Using SPSS calculate |
Answer |
Mean |
68.05 |
Minimum |
1 |
Maximum |
144 |
Variance |
1.525E3 |
Standard deviation |
39.051 |
Median |
72 |
First Quartile |
32 |
Second Quartile |
72 |
Third Quartile |
99 |
IQR |
67 |
Range |
143 |
Mode |
96 |
Question No. 3
[2.5 marks]
Use the data file, “breakfast.sav”, generate the following graphs
by using SPSS.
Histogram of “Buttered toast”.
Box plot of “Coffee cake”.
Line graph of “Corn muffin and butter”
Pie graph of “Menu scenarios”.
Bar graph of “gender”.
Note:
Write commands for each. Also copy the graphs from output file of SPSS and
paste here in this file.
Get Free Quote!
336 Experts Online