Senioritis, a disease known to cause mediocre grades and odd sleeping habits, sweeps UC Berkeley seniors every year. A statistician in Evans Hall modeled the probability of k senior-standing students with the following funtion. Let X be the number of infected Berkeley seniors.
\[P(X=k)=\binom{n}{k}(0.67)^k(0.33)^{n-k}\]
What is the name of this distribution?
What is the probability that any given senior has senioritis?
What did the statistician assume when making the probability model? Mark all that apply.
( ) Dependence between seniors
( ) The event of senioritis has a binary outcome
( ) Trials are fixed
( ) The chance that a senior gets senioritis is equal amongst all Berkeley seniors
Use the probability model to give the exact probability that half of the seniors at UC Berkeley get senioritis. Let the number of Berkeley seniors total be 10,000.
Write an expression using the probability model for the probability that more than half of the seniors are sick with senioritis.
Can you approximate part (e) with a continuous distribution? If so, which distribution? Calculate the approximation.
The Evans Hall statistician received data of higher amounts of traffic accidents than usual around midterms week for Berkeley seniors than at any other week during the semester. The statistician modeled the probability of accidents happening on any given week with this equation.
\[f(x)=e^{-3}\frac{3^x}{x!}\]
What is the name of this distribution and what is its parameter?
What is the expected amount of traffic accidents for a normal week for Berkeley seniors?
On average, how much would we expect the amount of accidents per week to deviate from the mean?
During midterms week, a professor received 12 emails regarding students getting into car accidents and not being able to take the midterm. What is the probability that 12 of her students truthfully got into accidents?
Which of the following properties does the Normal distribution have?
- a. 95% of the data lie within 1 standard deviation of the mean.
- b. The distribution is symmetric.
- c. It is used to model rare events.
- d. The total area under the curve is equal to 1.
To calculate the probability to the left of a given x-value in R, we use the function:
- a. pnorm()
- b. qnorm()
The standard normal distribution has a mean of ______, a variance of ______, and a standard deviation of ______.
What information can you infer from a qqplot in general?
The following bell curve represents the birth weight of 3,226 newborn babies studied in O’Cathain et al (2002). The mean birthweight was 3.39 kilograms. The dashed lines on the plot represent standard deviation sized intervals. Answer the following questions about this curve.
True or False. The y-values of the above curve represent probabilities of their corresponding x-values.
What is the variance of the birthweight? What are the units for variance?
What is the probability that a baby weights 3.39 kilograms at birth?
What is the probability that a baby weighs more than 4.49 kilograms at birth?
Write code to calculate the probability weighs between 2 and 3 kilograms.
Senioritis, a disease known to cause mediocre grades and odd sleeping habits, sweeps UC Berkeley seniors every year. A statistician in Evans Hall modeled the probability of k senior-standing students with the following funtion. Let X be the number of infected Berkeley seniors.
\[P(X=k)=\binom{n}{k}(0.67)^k(0.33)^{n-k}\]
What is the name of this distribution?
Binomial
What is the probability that any given senior has senioritis?
0.67
What did the statistician assume when making the probability model? Mark all that apply.
( ) Dependence between seniors
(//) The event of senioritis has a binary outcome
(//) Trials are fixed
(//) The chance that a senior gets senioritis is equal amongst all Berkeley seniors
Use the probability model to give the exact probability that half of the seniors at UC Berkeley get senioritis. Let the number of Berkeley seniors total be 10,000.
\[P(X=5000) = \binom{10000}{5000}(0.67)^{5000}(0.33)^{5000}\]
Write an expression using the probability model for the probability that more than half of the seniors are sick with senioritis.
\[P(X\geq 5001)=\Sigma_{k=5001}^{10000} \binom{100000}{k}(0.67)^{k}(0.33)^{10000-k}\]
We can approximate the value from part (e) with a distribution. Verify the assumptions, and name the distribution with its parameters.
We verify \(np=10000(0.67)=6700\) and \(n(1-p)=10000(0.33)=3300\).
The distribution \(N(np, \sqrt{np(1-p)})\) in this case is \(N(6700, \sqrt{10000 \times0.67 \times 0.33})\).
The Evans Hall statistician received data of higher amounts of traffic accidents than usual around midterms week for Berkeley seniors than at any other week during the semester. The statistician modeled the probability of accidents happening on any given week with this equation.
\[P(X=k)=e^{-3}\frac{3^k}{k!}\]
What is the name of this distribution and what is its parameter?
Poisson(3)
What is the expected amount of traffic accidents for a normal week for Berkeley seniors?
3 accidents
On average, how much would we expect the amount of accidents per week to deviate from the mean? You don’t need to simplify.
\(\sqrt{3}\) accidents
During midterms week, a professor received 12 emails regarding students getting into car accidents and not being able to take the midterm. What is the probability that 12 of her students got into accidents?
\(f(12)=e^{-3}\frac{3^{12}}{12!}\)
Which of the following properties does the Normal distribution have?
- a. 95% of the data lie within 1 standard deviation of the mean.
- b. The distribution is symmetric.
- c. It is used to model rare events.
- d. The total area under the curve is equal to 1.
Solution. Students should have selected (b) and (d) only.
To calculate the probability to the left of a given x-value in R, we use the function:
- a. pnorm()
- b. qnorm()
Solution. Students should have selected (a).
The standard normal distribution has a mean of ______, a variance of ______, and a standard deviation of ______.
Solution. Mean of 0, variance of 1, and standard deviation of 1.
What information can you infer from a qqplot in general?
Solution. A qq-plot tells you if your data can be approximated by a normal distribution or not.
The following bell curve represents the birth weight of 3,226 newborn babies studied in O’Cathain et al (2002). The mean birthweight was 3.39 kilograms. The dashed lines on the plot represent standard deviation sized intervals. Answer the following questions about this curve.
True or False. The y-values of the above curve represent probabilities of their corresponding x-values.
Solution. False. They represent a density.
What is the variance of the birthweight? What are the units for variance?
Solution. 0.55^2. The variance is in kilograms.
What is the probability that a baby weights 3.39 kilograms at birth?
Solution. 0.
What is the probability that a baby weighs more than 4.49 kilograms at birth?
Solution. (100-95/2)%.
Write code to calculate the probability weighs between 2 and 3 kilograms.
Solution. pnorm(3, 3.39, 0.55) - pnorm(2, 3.39, 0.55).