If you roll a pair of fair dice, what is the probability of:
\(P(sum(1))= 0\).
The minimum sum that a pair of fair dice can have is 2.
\(P(sum(5))= \frac{4}{36} \approx 0.12\).
A pair of dice can get a sum of 5 in 4 ways: (1,4), (4,1), (2,3), and (3,2). There are 36 possible combinations, so the probability of getting a sum of 5 is approximately 0.12.
\(P(sum(12))= \frac{1}{36} \approx 0.03\).
A pair of dice can get a sum of 12 only one way: by rolling a (6,6). This makes the probability approximately 0.03.
The 2010 American Community Survey estimates that 14.6% of Americans live below the poverty line, 20.7% speak a language other than English (foreign language) at home, and 4.2% fall into both categories.
No. Both events can occur at the same time, so they are not disjoint.
venn.plot <- draw.pairwise.venn(14.6, 20.7, 4.2, c("% Living below poverty line", "% Speaking foreign language"), cat.pos = 180, fill = c("darkorchid4","darkblue"), cat.fontfamily = "sans", fontfamily = "sans", fontface = "bold", alpha = 0.3, cat.dist = c(0.03, 0.03))
grid.draw(venn.plot)
10.4% of Americans fall into this category.
26.9% of Americans fall into this category.
100% – 4.2% = 95.8% of Americans fall into this category
Yes. The two events can overlap (that is, a person can both speak a foreign language and live below the poverty line), but the occurrence of one event does not affect the probability of the other.
There are 114 participants with blue eyes in this sample, out of 204 participants.
P(blue eyes) \(= \frac{114}{204} \approx 0.56\)
P(blue eyed partner) \(= \frac{108}{204} \approx 0.53\)
P(blue eyes or blue eyed partner) \(= \frac{114 + 108}{204 + 204} \approx 0.54\)
P(blue-eyed partner | blue eyes) \(= \frac{78}{114} \approx 0.68\)
P(blue-eyed partner | brown eyes) \(= \frac{19}{54} \approx 0.35\)
P(blue-eyed partner | green eyes) \(= \frac{11}{36} \approx 0.31\)
No, eye color is not independent, otherwise the conditional probabilities given different eye colors would be the same.
P(harcover) \(= \frac{28}{95} \approx 0.29\)
P(paperback fiction) \(= \frac{59}{94} \approx 0.63\)
P(paperback fiction | hardcover) \(= \frac{28}{95} * \frac{59}{94} \approx 0.18\)
P(fiction) \(= \frac{72}{95} \approx 0.76\)
P(hardcover) \(= \frac{28}{94} \approx 0.30\)
P(hardcover | fiction) \(= \frac{72}{95} * \frac{28}{94} \approx 0.23\)
P(hardcover | fiction) \(= \frac{72}{95} * \frac{28}{95} \approx 0.22\)
The two probabilities are similar because only one book is being replaced in part (c), so the total number of books does not change very much.
The average revenue per passenger is $12.70.
The variance is $198.21, and the standard deviation is $14.08.
\(E(X) = (0 * 0.54) + (25 * 0.34) + (35 * 0.12) = 12.70\)
\(\sigma^2(0 bags) = (0 - 12.70)^2 * 0.54 \approx 87.10\)
\(\sigma^2(1 bag) = (25 - 12.70)^2 * 0.34 \approx 51.44\)
\(\sigma^2(2 bags) = (35 - 12.70)^2 * 0.12 \approx 59.67\)
\(\sigma^2 = 87.10 + 51.44 + 59.67 = 198.21\)
\(\sigma = \sqrt{198.21} = 14.08\)
The airline can expect \(120 * 12.70 =\) $1,524 in revenue, with a standard deviation of \(120 * 14.08 =\) $1,689.60.
We assume that the passengers of this flight will check in bags with the same proportion that we used earlier. However, if the proportion is generally accurate, then this assumption is justified.
The distribution is normal, with the largest bin being $35,000 to $49,999.
There is a 62.2% chance that a random US resident makes less than $50,000 a year.
If we assume that income and being female are totally independent, then the probability is \(0.622 * 0.41 \approx 0.26.\)
The assumption I made was not valid, since the actual probability is much higher than the 26% that I calculated. This tells me that the two variables are not independent.