Dice rolls. (3.6, p. 92) If you roll a pair of fair dice, what is the probability of
Poverty and language. (3.8, p. 93) 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.
##ANSWERS (A) Living below the poverty line and speaking a foreign language are not disjoint as we have 4.2% of the survey population falls in both categories as stated in the problem
library("VennDiagram")
## Loading required package: grid
## Loading required package: futile.logger
venn.plot <- draw.pairwise.venn(14.6, 20.7, 4.2, c("Americans living below the poverty line", "Speak a foreign language at home"));
grid.draw(venn.plot);
grid.newpage();
Assortative mating. (3.18, p. 111) 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 below summarizes the results. For simplicity, we only include heterosexual relationships in this exercise.
##ANSWER (A) The probability formula is favorable outcomes/Total outcomes which will apply to all questions below. ## P(Male with blue eyes) + P(Female with blue eyes) - P(Male and female with blue eyes) = ## 114 + 108 - 78 = 144/204 ~= 0.7059 ## We subtract the male and female with blue eyes to avoid double-counting.
##ANSWER (B) This is a conditional probability conditioned on the male partner having blue eyes. ## P(A and B) = P(Male with blue eyes and Female with blue eyes) = 78/204 ## P(B) = P(Male with blue eyes) = 114/204 ## P(A and B) / P(B) = 78/114 ~= 0.6842
##ANSWER (C) This is a conditional probability conditioned on the male partner having brown eyes. ## P(A and B) = P(Male with brown eyes and Female with blue eyes) = 19/204 ## P(B) = P(Male with brown eyes) = 54/204 ## P(A and B) / P(B) = 19/54 ~= 0.3518
##ANSWER (D) The eye colors of male respondents and their partners are not independent.
Books on a bookshelf. (3.26, p. 114) The table below shows the distribution of books on a bookcase based on whether they are nonfiction or fiction and hardcover or paperback.
##ANSWERS (A) P(A) = P(Picking out hardcoverbook first) = P(28/95) ## P(B) = P(Picking out paperback fiction book next) = P(59/94) ## Both are independent events hence P(A) * P(B) ~= 0.185
##ANSWERS (B) This can be thought of as two scenarios, the first scenario results in a fiction hardcover book being picked out in the first draw followed by a hardcover book next. The second scenario includes picking out a fiction paperback book followed by a second draw that picks a hardcover book.
##ANSWERS (C) Scenraio B with replacement
##ANSWERS (D) Large sample size nullifies the effect of removing one book. If the sample size were smaller, the effect would have been felt.
Baggage fees. (3.34, p. 124) 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.
’’’ ANSWERS (A) E(X) = 0.540 + (0.34 $25) + ((0.12 * $25) + (0.12 * $35)) = $15.7 Standard deviation = sqrt( (0 - 15.7)^2 * 0.54) + (25 - 15.7)^2 * 0.34) + (60 - 15.7)^2 * 0.12) ~= 19.9
’’’
Income and gender. (3.38, p. 128) The relative frequency table below 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.
##(B) Add up the percentages in the bins below $50,000 = 62.2%
##(C) The probability of a randomly chosen US resident making < $50,000 and being a female are independent events hence we multiply both - 0.622 (calculated above) * 0.41 P(Being a female) = 25.5%
##(D) 25.5% calculated ~= 71.8% provided, hence the events of being a female and earning less are not independent events.