What percent of a standard normal distribution is found in each region? Be sure to draw a graph.
normalPlot(mean = 0, sd = 1, bounds = c(-1.13, 4), tails = FALSE)
normalPlot(mean = 0, sd = 1, bounds = c(-4, 0.18), tails = FALSE)
normalPlot(mean = 0, sd = 1, bounds = c(8, 4), tails = FALSE)
normalPlot(mean = 0, sd = 1, bounds = c(0, 0.5), tails = FALSE)
Mens \(= N(4313, 583)\)
Womens \(= N(5261, 807)\)
Leo \(=\frac{4948-4313}{583} \approx 1.04\)
Mary \(=\frac{5513-5261}{807} \approx 0.31\)
These Z-scores tell us the number of standard deviations that their finishing times fall above the mean for their group.
normalPlot(mean = 4313, sd = 583, bounds = c(0, 4948), tails = FALSE)
normalPlot(mean = 5261, sd = 807, bounds = c(0, 5513), tails = FALSE)
Mean = 61.52 inches
Standard deviation = 4.58
Yes, the heights follow the rule.
The probability of falling within 1 \(\sigma\) of \(\mu\)) = 68.3%
normalPlot(mean = 61.52, sd = 4.58, bounds = c(56.94, 66.10), tails = FALSE)
normalPlot(mean = 61.52, sd = 4.58, bounds = c(52.36, 70.68), tails = FALSE)
normalPlot(mean = 61.52, sd = 4.58, bounds = c(47.78, 75.26), tails = FALSE)
heights <- 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)
sim_norm <- rnorm(n = length(heights), mean = mean(heights), sd = sd(heights))
qqnorm(sim_norm)
qqline(sim_norm)
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.
The probability is approximately 1.67%.
\((0.98)^9 \times 0.02 \approx .0167\)
The probability is approximately 13.3%.
\((0.98)^{100} \approx 0.133\)
\(\mu = \frac{1}{0.02} =\) 50 transistors produced before defect
\(\sigma^2 = \frac{1-0.02}{0.02^2} =\) 2450
\(\sigma \approx\) 49.5
\(\mu = \frac{1}{0.05} =\) 20 transistors produced before defect
\(\sigma^2 = \frac{1-0.05}{0.05^2} =\) 380
\(\sigma \approx\) 19.5
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.
pM <- 0.51 # Probability of getting a boy
pF <- 1 - pM # Probability of getting a girl
nM <- 3 # Number of trials
kM <- 2 # Number of successes
fN <- factorial(nM)
fK <- factorial(kM)
fN_K <- factorial(nM - kM)
a <- ((fN/(fK*fN_K)) * (pM)^2 * (1-pM)^(nM - kM))
a
## [1] 0.382347
t1 <- c("F", "M", "M") # 1st possible ordering
t2 <- c("M", "F", "M") # 2nd possible ordering
t3 <- c("M", "M", "F") # 3rd possible ordering
df <- data.frame(t1,t2,t3)
df
## t1 t2 t3
## 1 F M M
## 2 M F M
## 3 M M F
b <- (pF * pM * pM) + (pM * pF * pM) + (pM * pM * pF)
b
## [1] 0.382347
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.
pS <- 0.15 # Probability of a successful serve
pL <- 1 - pS # Probability of an unsuccessful serve
nA <- 10 # Number of trials
kA <- 3 # Number of successes
# Negative binomial distribution:
v1 <- (pS)^(kA) * (1 - pS)^(nA - kA)
v1
## [1] 0.001081948