Professional Documents
Culture Documents
Answers to Exercises
Chapter 3
1a. Discrete
1b. Continuous
1c. Dichotomous
1d. Discrete
1e. Continuous
1f. Continuous
1g. Continuous
1h. Continuous
1i. Continuous
1j. Binary
2a. Nominal
2b. Ratio
2c. Nominal
2d. Nominal
2e. Ratio
2f. Ratio
2g. Ratio
2h. Ratio
2i. Ratio
2j. Nominal
3a. Name
3b. Age, Weight, Systolic blood pressure, Diastolic blood pressure
3c. Diabetes
4. See Table B.1
Making Sense of Data: A Practical Guide to Exploratory Data Analysis and Data Mining,
By Glenn J. Myatt
Copyright # 2007 John Wiley & Sons, Inc.
258
Appendix B Answers to exercises 259
Weight (kg)
Name Weight (kg) normalized to 0–1
P. Lee 50 0.095
R. Jones 115 0.779
J. Smith 96 0.579
A. Patel 41 0
M. Owen 79 0.4
S. Green 109 0.716
N. Cook 73 0.337
W. Hands 104 0.663
P. Rice 64 0.242
F. Marsh 136 1
Systolic Diastolic
Blood Weight Height blood blood Tempe-
Name Age Gender group (kg) (m) pressure pressure rature ( F) Diabetes
Systolic Diastolic
Blood Weight Height blood blood Temperature
Name Age Gender group (kg) (m) pressure pressure ( F) Diabetes
R. Jones 52 Male O Rh 115 1.77 110 154 98.5 1
J. Smith 45 Male O Rhþ 96 1.83 88 136 98.8 0
M. Owen 24 Male A Rh 79 1.82 65 105 98.7 0
S. Green 43 Male O Rh 109 1.89 114 159 98.9 1
N. Cook 68 Male A Rhþ 73 1.76 108 136 99.0 0
F. Marsh 28 Male O Rhþ 136 1.78 121 165 98.7 1
Chapter 4
1. See Table B.6
2a. See Table B.7
2b. See Table B.8
2c. See Table B.9
3. See Figure B.1
4. See Figure B.2
Store
Number of Sum of
Product category observations profit ($)
Laptop 3 470
Printer 4 360
Scanner 6 640
Desktop 5 295
190
145
Profit ($)
100
55
10
100 325 550 775 1000
Sale price ($)
Chapter 5
1a. 45
1b. 45
1c. 48.7
1d. 53
1e. 324.9
1f. 18.02
1g. See Table B.10
1h. 0.22
1i. –1.5
2. 24.14 – 25.86
3. 0.386 – 0.534
P. Lee 35 –0.76
R. Jones 52 0.18
J. Smith 45 –0.21
A. Patel 70 1.18
M. Owen 24 –1.37
S. Green 43 –0.32
N. Cook 68 1.07
W. Hands 77 1.57
P. Rice 45 –0.21
F. Marsh 28 –1.15
Appendix B Answers to exercises 263
4a. Ho: m ¼ 2
4b. Ha: m < 2 where m is the average call connection time.
4c. –2.72
4d. 0.0033
4e. The phone company can make the claim.
5a. Ho: p ¼ 0:9, Ha: p > 0:9 where p is the proportion of customers pleased
with the service of the bank.
5b. 0.33
5c. 0.3707
5d. The bank cannot make the claim.
6a. HO: m1 ¼ m2 , Ha: m1 > m2 where m1 is the average tomato plant height
grown with fertilizer X and m2 is the average tomato plant height grown
with fertilizer Y.
6b. 2.82
6c. 0.0024
6d. The company can make the claim.
7a. H0: p1 ¼ p2 , Ha: p1 < p2 where p1 is the proportion of defects, using
manufacturer A, and p2 is the proportion of defects, using manufacturer B.
7b. 0.54
7c. 0.2946
7d. The company cannot make the claim.
8a. HO:mD ¼ 0, Ha:mD 6¼ 0 where mD is the difference between the wear of the
gloves.
8b. 15.36
8c. Practically zero.
8d. Yes.
9a. H0: There is no relationship, Ha: There is a relationship.
9b. 2.18
9c. Cannot make the claim.
10a. H0: There is no difference, Ha: There is a difference.
10b. 1.48
10c. Cannot make the claim.
11. 0.98
Chapter 6
1a. 4.8
1b. 2.8
1c. 0
264 Appendix B Answers to exercises
2. 2.24
3. Support ¼ 0.47, Confidence ¼ 1, Lift ¼ 1.89
4a. 0.73
4b. 1.0
Chapter 7
1a. 0.85
1b. 0.15
1c. 0.89
1d. 0.82
2a. 0.87
2b. See Table B.11
3a. Height ¼ 0.071 þ 0.074 Fertilizer
3b. 0.98
4. $352,600
5. Brand B
6. 0.56