Dice rolls. If you roll a pair of fair dice, what is the probability of
The probablility of rolling a sum of 1 with a pair of dice is 0. The lowest sum you could roll with a pair of dice is 2.
There are 4 ways of getting a sum of 5: \((1,4),(2,3),(3,2),(4,1)\) out of \(6^2\) outcomes. Therefore the probability is: \(\frac{5}{36}\).
There is only one way to get a sum of 12, and that is with both dice rolling a 6. Therefore there is a \(\frac{1}{36}\) probability of getting a sum of 12.
Poverty and language. The American Community Survey is an ongoing survey that provides data every year to give communities the current information they need to plan investments and services. 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, they are not disjoint. As per above, 4.2% Americans fall into both categories.
Venn Diagram
We subtract the portion of Americans who speak a foreign language from those who are below the poverty line. So, 14.6% - 4.2% = 10.4%.
If \(A\) = Americans living below the poverty line, and \(B\) represents Americans who speak a foreign language at home, then we need to find \(A\cup B\) which is equal to \(A + B - A\cap B = 14.6 + 20.7 - 4.2 = 31.1\). So, the answer is 31.1%.
This is simply 4.2%
No. These events are not independent. An independent event is defined as events where this statement is true: \(P(A)\cap P(B)=P(A)P(B)\). Here we see \(0.146 * 0.207 \neq 0.042\).
Assortative mating. Assortative mating is a nonrandom mating pattern where individuals with similar genotypes and/or phenotypes mate with one another more frequently than what would be expected under a random mating pattern. Researchers studying this topic collected data on eye colors of 204 Scandinavian men and their female partners. The table summarizes the results. For simplicity, we only include heterosexual relationships in this exercise.
Because a male and female eye colors are independent from one another, the probability of \(P(M_{bl}) \cup P(F_{bl}) = P(M_{bl}) + P(F_{bl}) - P(M_{bl})\cap P(F_{bl})= \frac{114}{204} + \frac{108}{204} - \frac{78}{204}\) or approximately 0.71.
The probability is \(\frac{78}{114}\) or approximately 0.68.
The probability of a randomly chosen male respondent with brown eyes having a partner with blue eyes is \(\frac{19}{54}\) or about 0.35. The probability of a randomly chosen male respondent with green eyes having a partner with blue eyes is \(\frac{11}{36}\) or approximately 0.31.
The eye colors are not independent of one another. First, it’s feasible to believe that people may have a preference for someone with the same eye color as their own. Secondly, the formula for determining independence is not true: \(P(M_{bl})\cap P(F_{bl})=P(M_{bl})P(F_{bl})\), \(\frac{78}{204} \neq \frac{114}{204} * \frac{108}{204}\).
Books on a bookshelf. The table shows the distribution of books on a bookcase based on whether they are nonfiction or fiction and hardcover or paperback.
The total probability is \(\frac{28}{95} * \frac{59}{94}\) or approximately 0.18.
Since we are drawing without replacement, it is possible that we draw a hardcover fiction book first, thus altering the probability of getting a hardcover book on the second draw. In other words, our second draw is not independent so we cannot simply multiply their individual probabilities.
\(P(\)hardcover fiction\() = \frac{13}{95}\), \(P(\)softcover fiction\() = \frac{59}{95}\), \(P(\)hardcover|hardcover fiction\() = \frac{27}{94}\), \(P(\)hardcover|softcover fiction\() = \frac{28}{94}\).
\(P(\)fiction and hardcover\() = (\frac{13}{95} \times \frac{27}{94}) + (\frac{59}{95} \times \frac{28}{94}) =\) 0.224.
Unlike in (b) above, the first draw does not impact the second draw because replacement is used. So, the probability is simply \(\frac{72}{95} \times \frac{28}{95} =\) 0.223.
The answers are similar because replacement/non-replacement only impacted 1 of 95 books, a small enough change in denominator to keep the probabilities close.
An airline charges the following baggage fees: $25 for the first bag and $35 for the second. Suppose 54% of passengers have no checked luggage, 34% have one piece of checked luggage and 12% have two pieces. We suppose a negligible portion of people check more than two bags.
# Values of each possible outcome of X
x0 <- 0
x1 <- 25
x2 <- 60
# Probabilities of each occurring
p0 <- 0.54
p1 <- 0.34
p2 <- 0.12
# Expected value of each outcome
E0 <- x0 * p0
E1 <- x1 * p1
E2 <- x2 * p2
# Expected value per passenger
Etotal = E0 + E1 + E2
# Variances
var0 <- ((x0-Etotal)^2) * p0
var1 <- ((x1-Etotal)^2) * p1
var2 <- ((x2-Etotal)^2) * p2
SDtotal <- sqrt(var0+var1+var2)
The average revenue per passenger would be $15.7 with a standard deviation of $19.95.
The airline shold expect about $1884 for a flight of 120 passengers with a standard deviation of $2394.02. This is assuming that there is independence between passengers’ baggage needs; that will not necessarily be true, as people traveling together will be more likely to need similar numbers of bags.
Income and gender. The relative frequency table displays the distribution of annual total personal income (in 2009 inflation-adjusted dollars) for a representative sample of 96,420,486 Americans. These data come from the American Community Survey for 2005-2009. This sample is comprised of 59% males and 41% females.
library(ggplot2)
prob <- c(0.022,0.047,0.158,0.183,0.212,0.139,0.058,0.084,
0.097)
income <- ordered(c("0-10","10-15","15-25","25-35","35-50","50-65",
"65-75","75-100","100+"),
levels=c("0-10","10-15","15-25","25-35","35-50",
"50-65","65-75","75-100","100+"))
data <- data.frame(prob,income)
colnames(data) <- c("Percentage","Income")
ggplot(data, aes(Income,Percentage)) +
geom_col(fill="darkolivegreen") +
xlab("Income (1,000's of dollars)")
The distribution, at first glance appears bi-modal. However, the last category is all incomes of $100,000 or above, so this actually extends the right tail considerably. This presents a very positively-skewed distribution. The median value lies somewhere in the 35-50k range.
The probability is approximately 0.622.
Assuming that income and gender are independent (which they are not in reality!), the probability would be 0.41 \(\times\) 0.622 = 0.26.
Since only 62.2% of all Americans earn under $50k, and females make up the smaller portion of that sample (41%), it only stands to reason that there are considerably more females earning under $50k than males. This confirms the statement in (c) above that gender and income are not independent.