Assignment 1 s4b
Assignment 1 s4b
Interpretation
There appears to be a positive association — as the number of library
volumes increases, the median salary tends to rise.
However, the relationship is not perfectly linear, and there’s
noticeable variability, especially among schools with similar library sizes.
There may be diminishing returns at the higher end — after a certain point,
more books don't significantly increase salaries.
CHAPTER 4
Exercise 4.65: How many days in advance do travelers purchase their
airline tickets? Below are data showing the advance days for a sample of
28 passengers on United Airlines Flight 815 from Chicago to Los Angeles.
(a) Calculate the mean, median, mode, and midrange.
Mean: 26.71 days
Median: 14.5 days
Mode: 0 days
Midrange: 124.5 days
b) Calculate the quartiles and midhinge.
Q1 (25th percentile): 7.75
Q2 (Median): 14.5
Q3 (75th percentile): 20.25
Midhinge: 14.0
c) Why can’t you use the geometric mean for this data set?
You cannot use the geometric mean because the data contains zeros, and the
geometric mean is only defined for positive numbers. Multiplying by zero results
in a product of zero, invalidating the geometric mean.
11 7 11 4 15 14 71 29 8 7 16 28 17 249
0 20 77 18 14 3 15 52 20 0 9 9 21 3
Exercise 4.73: The table below shows average daily sales of Rice
Krispies in the month of June in 74 Noodles & Company restaurants.
(a) Make a histogram for the data.
a)i.P(S):
320
P(S) = 1000 = 0.32 → 32% of the sampled males are smokers.
ii. P(W):
850
P(W) = = 0.85 → 85% of the sample are White males.
1000
iii. P(S|W):
290
P(S∣W) = ≈ 0.3412 → Approximately 34.12% of White males are smokers.
850
30
P(S∣B) = = 0.2 → 20% of Black males are smokers.
150
290
P(S and W) = = 0.29 → 29% of the entire group are White smokers.
1000
Given:
P(Authorized) = 0.95
1
P(Rejected∣Authorized) =
1000
999999
P(Rejected∣Unauthorized) =
1000000
Interpretation: If the device denies access, there's only a 1.86% chance the
person was truly authorized — most rejections are unauthorized people.