2023-11-29
Translate a word problem into probability within Normal RV
Calculate probabilities within Normal RV using R
No scenario description here because the Normal distribution is so universal
Shorthand: \(X \sim \text{Normal}(\mu, \sigma^2)\)
\[ f_X(x) = \dfrac{1}{\sqrt{2\pi \sigma^2}}e^{-(x-\mu)^2/(2\sigma^2)} \text{, for} -inf < x < inf \]
\[\text{E}(X) = \mu \] \[\text{Var}(X) = \sigma^2\]
Let’s say we’re measuring the high temperature today. The average high temperature on this day across many, many years is 50 degrees with a standard deviation of 4 degrees.
If we want to know the probability that the high temperature is below 45 degrees:
If we want to know the temoerature, say \(t\), where the probability of that the temperature is at \(t\) or lower is 0.35:
If we want to know the probability that the temperature is between 45 and 50 degrees:
If we want to sample 20 days’ temperature (over the years) from the distribution:
Example 1
Children’s movies run an average of 98 minutes with a standard deviation of 10 minutes. You check out a random movie from the library to entertain your kids so you can study for your test. Assume that your kids will be occupied for the entire length of the movie.
What is the probability that your kids will be occupied for at least the 2 hours you would like to study?
What is range for the bottom quartile (lowest 25%) of time they will be occupied?
\[ Z \sim \text{Normal}(\mu = 0, \sigma^2 = 1)\]
Used to be more helpful when computing was not as advanced
Use tables of the standard normal
You can convert any normal distribution to a standard normal through transformation
\(Z = \dfrac{X - \mu_X}{\sigma_X}\)
Comes from \(X = \sigma_X Z + \mu_X\)
Since \(\sigma_X\) and \(\mu_X\) are constants, then \(E(X) = \mu_X\) and \(SD(X) = \sigma_X SD(Z) = \sigma_X\)
Chapter 35 Slides