Professional Documents
Culture Documents
For each of the following problems, use SPSS to perform the following tasks:
1. Heights to nearest centimeters of 100 men are given below.(File name: heights.sav)
148 158 158 157 146 170 180 177 164 175
171 156 158 158 150 171 172 174 162 156
157 159 155 165 155 171 172 173 160 170
161 161 164 158 165 165 165 164 162 163
162 165 171 168 168 168 167 169 167 165
155 161 161 151 165 168 169 161 170 156
171 162 158 168 170 167 164 164 156 156
166 168 166 166 154 164 170 169 161 157
167 166 153 164 157 158 160 161 161 169
164 152 152 156 170 153 154 167 168 179
Tests of Normality
Kolmogorov-Smirnova Shapiro-Wilk
Statistic df Sig. Statistic df Sig.
height of 100 persons .086 100 .066 .990 100 .624
a. Lilliefors Significance Correction
height of 100 persons Stem-and-Leaf Plot
2.00 14 . 68
8.00 15 . 01223344
21.00 15 . 555666666777788888889
23.00 16 . 00111111112222344444444
27.00 16 . 555555566667777788888889999
15.00 17 . 000000111112234
3.00 17 . 579
1.00 18 . 0
Stem width: 10
Each leaf: 1 case(s)
2. The following data gives the religion of 25 students in a class. (File name: religion.sav)
Religion
Frequency Percent Valid Percent Cumulative
Percent
Buddhist 8 32.0 32.0 32.0
christia 3 12.0 12.0 44.0
9.2 10.5 11.2 9.2 17.2 10.7 12.5 9.8 10.7 12.2
12.2 9.5 9.0 9.4 14.1 11.7 13.3 10.3 9.6 9.0
12.8 9.8 13.0 10.0 14.9 13.0 9.8 12.1 12.7 13.3
11.7 12.2 11.6 11.5 11.2 9.2 10.4 11.9 11.0 11.4
12.1 8.1 10.7 11.9 9.6 11.0 11.5 12.4 9.9 11.7
Descriptive Statistics
N Mean Std. Deviation Skewness Kurtosis
Statistic Statistic Statistic Statistic Std. Error Statistic Std. Error
income 50 11.2740 1.70304 .855 .337 1.769 .662
Valid N (listwise) 50
Income
Frequency Percent Valid Percent Cumulative Percent
4. The data given in the following table indicate the time intervals in days on 21 different occasions when an
order was placed. (Filename: order.sav)
order
Statistics
Frequency Percent Valid Percent Cumulative
Percent order
Statistics
almunaium
Valid 51
N
Missing 0
Mean 747.82
Median 735.00
Std. Deviation 132.250
Variance 17490.028
Skewness -.280
Std. Error of Skewness .333
Kurtosis .191
Std. Error of Kurtosis .656
Almunaium
Frequency Percent Valid Percent Cumulative
Percent
395 1 2.0 2.0 2.0
474 1 2.0 2.0 3.9
511 1 2.0 2.0 5.9
516 1 2.0 2.0 7.8
Valid
564 1 2.0 2.0 9.8
605 1 2.0 2.0 11.8
620 1 2.0 2.0 13.7
622 1 2.0 2.0 15.7
629 1 2.0 2.0 17.6
639 1 2.0 2.0 19.6
657 1 2.0 2.0 21.6
669 1 2.0 2.0 23.5
670 1 2.0 2.0 25.5
687 1 2.0 2.0 27.5
696 1 2.0 2.0 29.4
697 1 2.0 2.0 31.4
703 1 2.0 2.0 33.3
707 1 2.0 2.0 35.3
711 1 2.0 2.0 37.3
715 1 2.0 2.0 39.2
717 1 2.0 2.0 41.2
718 1 2.0 2.0 43.1
721 1 2.0 2.0 45.1
722 1 2.0 2.0 47.1
733 1 2.0 2.0 49.0
735 1 2.0 2.0 51.0
746 1 2.0 2.0 52.9
749 1 2.0 2.0 54.9
760 1 2.0 2.0 56.9
771 1 2.0 2.0 58.8
772 1 2.0 2.0 60.8
787 1 2.0 2.0 62.7
801 1 2.0 2.0 64.7
806 1 2.0 2.0 66.7
810 1 2.0 2.0 68.6
814 1 2.0 2.0 70.6
818 1 2.0 2.0 72.5
828 1 2.0 2.0 74.5
836 1 2.0 2.0 76.5
842 1 2.0 2.0 78.4
859 2 3.9 3.9 82.4
877 1 2.0 2.0 84.3
895 1 2.0 2.0 86.3
898 1 2.0 2.0 88.2
928 1 2.0 2.0 90.2
930 1 2.0 2.0 92.2
954 1 2.0 2.0 94.1
969 1 2.0 2.0 96.1
994 1 2.0 2.0 98.0
1003 1 2.0 2.0 100.0
6. Discrete data
3.4 2.1 2.4 2.8 3.2 3.7 2.5 2.2 2.8 2.6
3.2 3.3 3.3 2.9 2.4 2.5 2.4 3.2 2.3 2.8
2.8 3.1 3.1 3.0 2.7 3.2 3.5 2.6 2.5 2.9
Valueofexport
Frequenc Percent Valid Cumulative
y Percent Percent
3 1 7.1 7.1 7.1
4 1 7.1 7.1 14.3
5 1 7.1 7.1 21.4
6 1 7.1 7.1 28.6
6 1 7.1 7.1 35.7
7 1 7.1 7.1 42.9
8 1 7.1 7.1 50.0
9. The number of accidents occurring during the last year in 50 factories of a State is given below:
12 14 46 17 7 7 19 6 27 4
14 5 11 7 33 2 9 5 4 8
4 10 8 9 2 37 10 8 22 9
13 10 9 11 12 14 12 15 18 11
6 13 20 12 24 11 31 6 12 3
For each of the following data, use SPSS to perform the following tasks:
Median 11.00
Variance 83.114
10. The number of times each of the four categories occurs is given below:
Category A B C D E
Frequency 14 43 27 16 33
Statistics
frequency
N Valid 5
Missing 0
Mean 26.6
Mode 14a
Std. 12.054
Deviation
Variance 145.3
11. The percentage of types of vehicles on the roads of a city was recorded as follows in a year.
vehicle vehicle
Valid 5 Frequency Percent Valid Percent Cumulative
N
Missing 0 Percent
Line graph:
Descriptive statistics:
12. The raw data displayed below are the electricity charges (in rupees) paid for the month of January 2020
obtain from the random sample of 50 users.
Frequency:
Statistics
electricity_charge
Valid 50
N
Missing 0
Mean 147.16
Median 148.50
Mode 130a
Std. Deviation 31.656
Variance 1002.096
Skewness .011
Std. Error of Skewness .337
Kurtosis -.544
Std. Error of Kurtosis .662
a. Multiple modes exist. The smallest
value is shown
20.8 22.8 21.9 22.0 20.7 20.9 25.0 22.2 22.8 20.1
25.3 20.7 22.5 19.7 20.3 22.1 25.2 21.9 28.2 28.0
28.5 22.1 23.4 24.3 25.0 26.3 22.2 20.6 19.3 18.4
20.9 21.6 28.9 25.9 23.7 21.3 19.5 19.0 19.7 20.5
26.0 29.9 28.6 20.6 27.8 27.0 23.8 24.0 25.1 20.8
Calculate all quartiles, 6th and 9th deciles, median, 25th and 80th percentile.
Quartile:
Statistics
temp
Valid 50
N
Missing 0
Median 22.2000
25 20.7000
Percentiles 50 22.2000
75 25.2250
Decile:
6th: 9th:
Statistics Statistics
temp temp
Valid 50 Valid 50
N N
Missing 0 Missing 0
90 28.1800
Percentile:
Statistics
temp
Valid 50
N
Missing 0
Median 22.2000
25 20.7000
Percentiles
80 25.9800
Probability
14. The following table gives the survey data of 30 people interviewed at a shopping mall in Kathmandu. It gives
their smoking habit (smoker (S)/Non-smoker (N)) and their health condition (have cancer (C)/have heart
problem (H), Good health (G), together with their identification number.
𝑝(𝑆𝑛𝐶)
(i) The person is smoker given that he has cancer. =P(S/C)= =0.667
𝑃(𝐶)
𝑝(𝐺𝑛𝐶)
(j) The person is in good health given that he is a smoker. P(G/S)= 𝑃(𝑆)
= 0.083
Probability distribution:
15. A showroom record of the sales of a car brand shows that 40 percent of customers use cheques as a mode of
payment. It is expected that following one of their clearance sales advertisements on the TV, 5 customers will
purchase cars on the following day. Use SPSS
• To construct the probability distribution of the number of customers who make their payment by cheque.
• To plot these probabilities in a histogram.
• To find the following probabilities:
(a) P(at most 3 customers make their payment by cheque)
= P(X<=3) = 0.91
(b) P(exactly 3 customers make their payment by cheque)
= P(X=3) = 0.35
(c) P(at least 3 customers make their payment by cheque)
= P(X<=3) =1-P(X<=2) = 1 - 0.34 = 0.66
(d) P(more than 4 customers make their payment by cheque)
= P(X>4) = 1-P(X<=3) = 1-0.91 = 0.09
(e) P(less than 3 customers make their payment by cheque)
= P(X<3) = P(X<=2) = 0.26
(f) P(more than 2 and less than or equal to 5 customers make their payment by cheque).
16. The marketing manager of a mail order company has noted that, on average, she receives 10 complaint calls
from customers during a 5-day working week. She has also noted that the calls occur at random. Use SPSS
• To construct the probability distribution of the number of complaints calls in a single day for up to 15
complaints.
• To plot these probabilities in a histogram.
• To find the following probabilities
(c) P(at least 8 complaint calls in a week) = P(X>=8) = 1- P(x<=7) = 1 – 0.22 = 0.78
(e) P(more than 1 and less than or equal to 5 complaint calls in a week)
17. Ten thousand candidates appeared in a certain examination carrying a maximum of 100 marks. It was found
that the marks were normally distributed with a mean 39.5 and standard deviation 12.5. Determine
approximately the number of candidates who secured a first class for which the minimum of 60 marks.
18. The heights of two years old are normally distributed with a mean height of 81cm and a standard deviation of
3.4 cm. Pediatricians regularly measures the heights of toddlers to determine whether there is a problem.
There may be a problem when the child is in the top or bottom 5% of heights.
(a) What is the probability that a two-year old child will be taller than 90cm?
= (1-CDF.NORMAL(90,81,3.4)) = 0.004
(b) What is the probability that a two-year old child will be shorter than 85cm?
= (1-CDF.NORMAL(85,81,3.4)) = 0.119
(c) What is the probability that a two-year old child is between 75 and 85cm tall?
= CDF.NORMAL(85,81,3.4)-CDF.NORMAL(75,81,3.4) = 0.8415
(b) As a check of your calculations in part (a), plot the 12 points and graph the line.
(c) Does it appear that the secretaries experience is linearly related to their improvement?
Variables Entered/Removeda
Model Variables Entered Variables Removed Method
Number of years of
1 . Enter
experience, Xb
a. Dependent Variable: Improvement (words per minute) Y
b. All requested variables entered.
Model Summary
Std.
Adjusted
R Error of
Model R R
Square the
Square
Estimate
1 .768a 0.59 0.549 1.5
a. Predictors: (Constant), Number of years of experience,
X
ANOVAa
Sum of Mean
Model df F Sig.
Squares Square
Regression 32.418 1 32.418 14.409 .004b
1 Residual 22.499 10 2.25
Total 54.917 11
a. Dependent Variable: Improvement (words per minute) Y
b. Predictors: (Constant), Number of years of experience, X
Coefficients a
95.0%
Unstandardized Standardized Confidence
Coefficients Coefficients Interval for B
Std. Lower Upper
Model B Error Beta t Sig. Bound Bound
1 (Constant) 6.863 1.193 5.751 .000 4.204 9.521
Number of years of experience, .539 .142 .768 3.796 .004 .223 .855
X
a. Dependent Variable: Improvement (words per minute) Y
ANOVA
21. Seven samples of individuals were selected randomly from three communities. The ages of the persons were
as tabulated:
Community A Community B Community C
16 65 45
15 43 30
25 77 22
30 90 66
39 82 47
20 69 33
16 73 50
Use SPSS to carry out the ANOVA and is there a significant difference in the ages?
ANOVA
Age
Total 11414.952 20
Block Treatment
1 2 3
A 7 12 8
B 10 8 9
C 12 16 13
D 9 13 6
E 12 10 11