Area under the curve, Part I. (4.1, p. 142) What percent of a standard normal distribution \(N(\mu=0, \sigma=1)\) is found in each region? Be sure to draw a graph.
DATA606::normalPlot(0, 1, c(-10, -1.35))
DATA606::normalPlot(0, 1, c(1.48, 10))
DATA606::normalPlot(0, 1, c(-0.4, 1.5))
DATA606::normalPlot(0, 1, c(2, 10), tails=FALSE)
DATA606::normalPlot(0, 1, c(-10, -2), tails=FALSE)
Triathlon times, Part I (4.4, p. 142) In triathlons, it is common for racers to be placed into age and gender groups. Friends Leo and Mary both completed the Hermosa Beach Triathlon, where Leo competed in the Men, Ages 30 - 34 group while Mary competed in the Women, Ages 25 - 29 group. Leo completed the race in 1:22:28 (4948 seconds), while Mary completed the race in 1:31:53 (5513 seconds). Obviously Leo finished faster, but they are curious about how they did within their respective groups. Can you help them? Here is some information on the performance of their groups:
Remember: a better performance corresponds to a faster finish.
\(Men: N(\mu = 4313, \sigma=503) \\\) \(Women: N(\mu = 5261, \sigma=807)\)
Z(leo) = (4948 - 4313)/583 = 1.089 -> Leo performed at 86 percentile
pnorm(1.089)
## [1] 0.8619231
Z(Mary) = (5513 - 5261) / 807 = 0.312 -> Mary performed at 62 percentile
pnorm(0.312)
## [1] 0.6224797
Within their respective groups Leo performed better since he is among the top 4/5 of his group while Mary is in 3/5.
Leo performed better than 88% of his group
Mary performed bettered than 62% of her group
Part (b) answer wouldn’t not change as Z-scores can be calculated for distributions that are not normal. However, we could not answer parts (d)-(f) since we cannot use the normal probability table to calculate probabilities and percentiles without a normal model.
Heights of female college students Below are heights of 25 female college students.
\[ \stackrel{1}{54}, \stackrel{2}{55}, \stackrel{3}{56}, \stackrel{4}{56}, \stackrel{5}{57}, \stackrel{6}{58}, \stackrel{7}{58}, \stackrel{8}{59}, \stackrel{9}{60}, \stackrel{10}{60}, \stackrel{11}{60}, \stackrel{12}{61}, \stackrel{13}{61}, \stackrel{14}{62}, \stackrel{15}{62}, \stackrel{16}{63}, \stackrel{17}{63}, \stackrel{18}{63}, \stackrel{19}{64}, \stackrel{20}{65}, \stackrel{21}{65}, \stackrel{22}{67}, \stackrel{23}{67}, \stackrel{24}{69}, \stackrel{25}{73} \]
vect <- c(54,55,56,56,57,58,58,59,60,60,60,61,61,62,62,63,63,63,64,65,65,67,67,69,73)
mu <- mean(vect)
st <- sd(vect)
s1<- c(mu + st, mu-st)
s2<- c(mu + st*2, mu-st*2)
s3<- c(mu + st*3, mu-st*3)
print(length(vect[vect < s1[1] & vect > s1[2]])/length(vect))
## [1] 0.68
print(length(vect[vect < s2[1] & vect > s2[2]])/length(vect))
## [1] 0.96
print(length(vect[vect < s3[1] & vect > s3[2]])/length(vect))
## [1] 1
The line going through the qqnorm plot fits the data very close, therefore the data can be treated as normally distributed. I drew dash lines to show data within 1 std (green) 2 std(blue) and 3 std(pink)
Defective rate. (4.14, p. 148) A machine that produces a special type of transistor (a component of computers) has a 2% defective rate. The production is considered a random process where each transistor is independent of the others.
p=0.02
n=10
print((1-p)^9*p)
## [1] 0.01667496
dgeom(n-1, p)
## [1] 0.01667496
(1-p)^100
## [1] 0.1326196
\(\mu=1/p=50 \\\)
\(\sigma=sqrt((1-p)/p^2)=49.49\)
\(\mu=1/0.05=20 \\\)
\(\sigma=sqrt((1-0.05)/0.05^2)=19.49\)
Increasing he probability of an event from 2% to 5% a 2.5x increased caused the mean to drop by the same multiple (2.5) and the std by about the same (2.54)
Male children. While it is often assumed that the probabilities of having a boy or a girl are the same, the actual probability of having a boy is slightly higher at 0.51. Suppose a couple plans to have 3 kids.
p=0.51
dbinom(2,3,p)
## [1] 0.382347
choose(3,2)*(p)^2*(1-p)^1
## [1] 0.382347
(b,b,g),(b,g,b),(g,b,b)
p*p*(1-p) + p*(1-p)*p + (1-p)*p*p
## [1] 0.382347
There are 2^8=256 combinations which will be very tedious to type out
Serving in volleyball. (4.30, p. 162) A not-so-skilled volleyball player has a 15% chance of making the serve, which involves hitting the ball so it passes over the net on a trajectory such that it will land in the opposing team’s court. Suppose that her serves are independent of each other.
p=0.15
dbinom(3, 10, p)
## [1] 0.1298337
0.15
For part a the the 3 successful serves could be any of the 10, ie (1,3,7); however part b fixes the last successful serve to be the last one, ie(1,3,10)