2.E: Probability (Exercises)

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$

( \newcommand{\kernel}{\mathrm{null}\,}\) $$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\id}{\mathrm{id}}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\kernel}{\mathrm{null}\,}$$

$$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$

$$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$

$$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

$$\newcommand{\vectorA}[1]{\vec{#1}} % arrow$$

$$\newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow$$

$$\newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vectorC}[1]{\textbf{#1}}$$

$$\newcommand{\vectorD}[1]{\overrightarrow{#1}}$$

$$\newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}$$

$$\newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}}$$

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\avec}{\mathbf a}$$ $$\newcommand{\bvec}{\mathbf b}$$ $$\newcommand{\cvec}{\mathbf c}$$ $$\newcommand{\dvec}{\mathbf d}$$ $$\newcommand{\dtil}{\widetilde{\mathbf d}}$$ $$\newcommand{\evec}{\mathbf e}$$ $$\newcommand{\fvec}{\mathbf f}$$ $$\newcommand{\nvec}{\mathbf n}$$ $$\newcommand{\pvec}{\mathbf p}$$ $$\newcommand{\qvec}{\mathbf q}$$ $$\newcommand{\svec}{\mathbf s}$$ $$\newcommand{\tvec}{\mathbf t}$$ $$\newcommand{\uvec}{\mathbf u}$$ $$\newcommand{\vvec}{\mathbf v}$$ $$\newcommand{\wvec}{\mathbf w}$$ $$\newcommand{\xvec}{\mathbf x}$$ $$\newcommand{\yvec}{\mathbf y}$$ $$\newcommand{\zvec}{\mathbf z}$$ $$\newcommand{\rvec}{\mathbf r}$$ $$\newcommand{\mvec}{\mathbf m}$$ $$\newcommand{\zerovec}{\mathbf 0}$$ $$\newcommand{\onevec}{\mathbf 1}$$ $$\newcommand{\real}{\mathbb R}$$ $$\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}$$ $$\newcommand{\laspan}[1]{\text{Span}\{#1\}}$$ $$\newcommand{\bcal}{\cal B}$$ $$\newcommand{\ccal}{\cal C}$$ $$\newcommand{\scal}{\cal S}$$ $$\newcommand{\wcal}{\cal W}$$ $$\newcommand{\ecal}{\cal E}$$ $$\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}$$ $$\newcommand{\gray}[1]{\color{gray}{#1}}$$ $$\newcommand{\lgray}[1]{\color{lightgray}{#1}}$$ $$\newcommand{\rank}{\operatorname{rank}}$$ $$\newcommand{\row}{\text{Row}}$$ $$\newcommand{\col}{\text{Col}}$$ $$\renewcommand{\row}{\text{Row}}$$ $$\newcommand{\nul}{\text{Nul}}$$ $$\newcommand{\var}{\text{Var}}$$ $$\newcommand{\corr}{\text{corr}}$$ $$\newcommand{\len}[1]{\left|#1\right|}$$ $$\newcommand{\bbar}{\overline{\bvec}}$$ $$\newcommand{\bhat}{\widehat{\bvec}}$$ $$\newcommand{\bperp}{\bvec^\perp}$$ $$\newcommand{\xhat}{\widehat{\xvec}}$$ $$\newcommand{\vhat}{\widehat{\vvec}}$$ $$\newcommand{\uhat}{\widehat{\uvec}}$$ $$\newcommand{\what}{\widehat{\wvec}}$$ $$\newcommand{\Sighat}{\widehat{\Sigma}}$$ $$\newcommand{\lt}{<}$$ $$\newcommand{\gt}{>}$$ $$\newcommand{\amp}{&}$$ $$\definecolor{fillinmathshade}{gray}{0.9}$$

2.1: Defining Probability

2.1 True or false. Determine if the statements below are true or false, and explain your reasoning.

1. (a) If a fair coin is tossed many times and the last eight tosses are all heads, then the chance that the next toss will be heads is somewhat less than 50%.
2. (b) Drawing a face card (jack, queen, or king) and drawing a red card from a full deck of playing cards are mutually exclusive events.
3. (c) Drawing a face card and drawing an ace from a full deck of playing cards are mutually exclusive events.

2.2 Roulette wheel. The game of roulette involves spinning a wheel with 38 slots: 18 red, 18 black, and 2 green. A ball is spun onto the wheel and will eventually land in a slot, where each slot has an equal chance of capturing the ball.61

1. (a) You watch a roulette wheel spin 3 consecutive times and the ball lands on a red slot each time. What is the probability that the ball will land on a red slot on the next spin?
2. (b) You watch a roulette wheel spin 300 consecutive times and the ball lands on a red slot each time. What is the probability that the ball will land on a red slot on the next spin?
3. (c) Are you equally con dent of your answers to parts (a) and (b)? Why or why not?

2.3 Four games, one winner. Below are four versions of the same game. Your archnemisis gets to pick the version of the game, and then you get to choose how many times to ip a coin: 10 times or 100 times. Identify how many coin ips you should choose for each version of the game.

1. (a) If the proportion of heads is larger than 0.60, you win $1. 2. (b) If the proportion of heads is larger than 0.40, you win$1.
3. (c) If the proportion of heads is between 0.40 and 0.60, you win $1. 4. (d) If the proportion of heads is smaller than 0.30, you win$1.

2.4 Backgammon. Backgammon is a board game for two players in which the playing pieces are moved according to the roll of two dice. Players win by removing all of their pieces from the board, so it is usually good to roll high numbers. You are playing backgammon with a friend and you roll two 6s in your rst roll and two 6s in your second roll. Your friend rolls two 3s in his rst roll and again in his second row. Your friend claims that you are cheating, because rolling double 6s twice in a row is very unlikely. Using probability, show that your rolls were just as likely as his.

2.5 Coin fips. If you ip a fair coin 10 times, what is the probability of (a) getting all tails? (b) getting all heads? (c) getting at least one tails?

2.6 Dice rolls. If you roll a pair of fair dice, what is the probability of (a) getting a sum of 1? (b) getting a sum of 5? (c) getting a sum of 12?

61Photo by H�akan Dahlstrom on Flickr, Roulette wheel.

2.7 Swing voters. A 2012 Pew Research survey asked 2,373 randomly sampled registered voters their political affiliation (Republican, Democrat, or Independent) and whether or not they identify as swing voters. 35% of respondents identi ed as Independent, 23% identi ed as swing voters, and 11% identi ed as both.62

1. (a) Are being Independent and being a swing voter disjoint, i.e. mutually exclusive?
2. (b) Draw a Venn diagram summarizing the variables and their associated probabilities.
3. (c) What percent of voters are Independent but not swing voters?
4. (d) What percent of voters are Independent or swing voters?
5. (e) What percent of voters are neither Independent nor swing voters?
6. (f) Is the event that someone is a swing voter independent of the event that someone is a political Independent?

2.8 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 that English at home, and 4.2% fall into both categories.63

1. (a) Are living below the poverty line and speaking a language other than English at home disjoint?
2. (b) Draw a Venn diagram summarizing the variables and their associated probabilities.
3. (c) What percent of Americans live below the poverty line and only speak English at home?
4. (d) What percent of Americans live below the poverty line or speak a language other than English at home?
5. (e) What percent of Americans live above the poverty line and only speak English at home?
6. (f) Is the event that someone lives below the poverty line independent of the event that the person speaks a language other than English at home?

2.9 Disjoint vs. independent. In parts (a) and (b), identify whether the events are disjoint,

independent, or neither (events cannot be both disjoint and independent).

1. (a) You and a randomly selected student from your class both earn A's in this course.
2. (b) You and your class study partner both earn A's in this course.
3. (c) If two events can occur at the same time, must they be dependent?

2.10 Guessing on an exam. In a multiple choice exam, there are 5 questions and 4 choices for each question (a, b, c, d). Nancy has not studied for the exam at all and decides to randomly guess the answers. What is the probability that:

1. (a) the first question she gets right is the 5th question?
2. (b) she gets all of the questions right?
3. (c) she gets at least one question right?

62Pew Research Center, With Voters Focused on Economy, Obama Lead Narrows, data collected between April 4-15, 2012.

63U.S. Census Bureau, 2010 American Community Survey 1-Year Estimates, Characteristics of People by Language Spoken at Home.

2.11 Educational attainment of couples. The table below shows the distribution of education level attained by US residents by gender based on data collected during the 2010 American Community Survey.64

 Gender Male Female Less than 9th grade 9th to 12th grade, no diploma High school graduate, GED, or alternative Some college, no degree Associate's degree Bachelor's degree Graduate or professional degree 0.06 0.10 0.30 0.22 0.06 0.16 0.09 0.06 0.09 0.20 0.24 0.08 0.17 0.09 Total 1.00 1.00
1. (a) What is the probability that a randomly chosen man has at least a Bachelor's degree?
2. (b) What is the probability that a randomly chosen woman has at least a Bachelor's degree?
3. (c) What is the probability that a man and a woman getting married both have at least a Bachelor's degree? Note any assumptions you must make to answer this question.
4. (d) If you made an assumption in part (c), do you think it was reasonable? If you didn't make an assumption, double check your earlier answer and then return to this part.

2.12 School absences. Data collected at elementary schools in DeKalb County, GA suggest that each year roughly 25% of students miss exactly one day of school, 15% miss 2 days, and 28% miss 3 or more days due to sickness.65

1. (a) What is the probability that a student chosen at random doesn't miss any days of school due to sickness this year?
2. (b) What is the probability that a student chosen at random misses no more than one day?
3. (c) What is the probability that a student chosen at random misses at least one day?
4. (d) If a parent has two kids at a DeKalb County elementary school, what is the probability that neither kid will miss any school? Note any assumption you must make to answer this question.
5. (e) If a parent has two kids at a DeKalb County elementary school, what is the probability that that both kids will miss some school, i.e. at least one day? Note any assumption you make.
6. (f) If you made an assumption in part (d) or (e), do you think it was reasonable? If you didn't make any assumptions, double check your earlier answers.

2.13 Grade distributions. Each row in the table below is a proposed grade distribution for a class. Identify each as a valid or invalid probability distribution, and explain your reasoning.

 Grades A B C D F (a) 0.3 0.3 0.3 0.2 0.1 (b) 0 0 1 0 0 (c) 0.3 0.3 0.3 0 0 (d) 0.3 0.5 0.2 0.1 -0.1 (e) 0.2 0.4 0.2 0.1 0.1 (f) 0 -0.1 1.1 0 0

64U.S. Census Bureau, 2010 American Community Survey 1-Year Estimates, Educational Attainment.

65S.S. Mizan et al. \Absence, Extended Absence, and Repeat Tardiness Related to Asthma Status among Elementary School Children". In: Journal of Asthma 48.3 (2011), pp. 228-234.

2.14 Weight and health coverage, Part I. The Behavioral Risk Factor Surveillance System (BRFSS) is an annual telephone survey designed to identify risk factors in the adult population and report emerging health trends. The following table summarizes two variables for the respondents: weight status using body mass index (BMI) and health coverage, which describes whether each respondent had health insurance.66

 Neither overweight nor obese (BMI < 25) Overweight ($$25 \le BMI < 30$$) Obese (BMI $$\ge$$ 30) Total Yes 134,801 141,699 107,301 383,801 No 15,098 15,327 14,412 44,837 Total 149,899 157,026 121,713 428,638
1. (a) If we draw one individual at random, what is the probability that the respondent is overweight and doesn't have health coverage?
2. (b) If we draw one individual at random, what is the probability that the respondent is overweight or doesn't have health coverage?

2.2: Conditional Probability I and 2.3: Conditional Probability II

2.15 Joint and conditional probabilities. P(A) = 0.3, P(B) = 0.7

1. (a) Can you compute P(A and B) if you only know P(A) and P(B)?
2. (b) Assuming that events A and B arise from independent random processes,
1. i. what is P(A and B)?
2. ii. what is P(A or B)?
3. iii. what is P(A|B)?
3. (c) If we are given that P(A and B) = 0.1, are the random variables giving rise to events A and B independent?
4. (d) If we are given that P(A and B) = 0.1, what is P(A|B)?

2.16 PB & J. Suppose 80% of people like peanut butter, 89% like jelly, and 78% like both. Given that a randomly sampled person likes peanut butter, what's the probability that he also likes jelly?

2.17 Global warming. A 2010 Pew Research poll asked 1,306 Americans \From what you've read and heard, is there solid evidence that the average temperature on earth has been getting warmer over the past few decades, or not?". The table below shows the distribution of responses by party and ideology, where the counts have been replaced with relative frequencies.67

 Earth is warming Not warming Don't Know Refuse Total Conservative Republican 0.11 0.20 0.02 0.33 Mod/Lib Republican 0.06 0.06 0.01 0.13 Mod/Cons Democrat 0.25 0.07 0.02 0.34 Liberal Democrat 0.18 0.01 0.01 0.20 Total 0.60 0.34 0.06 1.00

66Office of Surveillance, Epidemiology, and Laboratory Services Behavioral Risk Factor Surveillance System, BRFSS 2010 Survey Data.

67Pew Research Center, Majority of Republicans No Longer See Evidence of Global Warming, data collected on October 27, 2010.

1. (a) What is the probability that a randomly chosen respondent believes the earth is warming or is a liberal Democrat?
2. (b) What is the probability that a randomly chosen respondent believes the earth is warming given that he is a liberal Democrat?
3. (c) What is the probability that a randomly chosen respondent believes the earth is warming given that he is a conservative Republican?
4. (d) Does it appear that whether or not a respondent believes the earth is warming is independent of their party and ideology? Explain your reasoning.
5. (e) What is the probability that a randomly chosen respondent is a moderate/liberal Republican given that he does not believe that the earth is warming?

2.18 Weight and health coverage, Part II. Exercise 2.14 introduced a contingency table summarizing the relationship between weight status, which is determined based on body mass index (BMI), and health coverage for a sample of 428,638 Americans. In the table below, the counts have been replaced by relative frequencies (probability estimates).

 Weight Status Neither overweight nor obese (BMI < 25) Overweight ($$25 \le BMI < 30$$) Obese (BMI $$\ge$$ 30) Total Yes 0.3145 0.3306 0.2503 0.8954 No 0.0352 0.0358 0.0336 0.1046 Total 0.3497 0.3664 0.2839 1.0000
1. (a) What is the probability that a randomly chosen individual is obese?
2. (b) What is the probability that a randomly chosen individual is obese given that he has health coverage?
3. (c) What is the probability that a randomly chosen individual is obese given that he doesn't have health coverage?
4. (d) Do being overweight and having health coverage appear to be independent?

2.19 Burger preferences. A 2010 SurveyUSA poll asked 500 Los Angeles residents, "What is the best hamburger place in Southern California? Five Guys Burgers? In-N-Out Burger? Fat Burger? Tommy's Hamburgers? Umami Burger? Or somewhere else?" The distribution of responses by gender is shown below.68

 Gender Male Female Total Five Guys Burgers In-N-Out Burger Fat Burger Tommy's Hamburgers Umami Burger Other Not Sure 5 162 10 27 5 26 13 6 181 12 27 1 20 5 11 343 22 54 6 46 18 Total 284 252 500
1. (a) What is the probability that a randomly chosen male likes In-N-Out the best?
2. (b) What is the probability that a randomly chosen female likes In-N-Out the best?
3. (c) What is the probability that a man and a woman who are dating both like In-N-Out the best? Note any assumption you make and evaluate whether you think that assumption is reasonable.
4. (d) What is the probability that a randomly chosen person likes Umami best or that person is female?

68SurveyUSA, Results of SurveyUSA News Poll #17718, data collected on December 2, 2010.

2.20 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 below summarizes the results. For simplicity, we only include heterosexual relationships in this exercise.69

 Partner (female) Blue Brown Green Total Blue Brown Green 78 19 11 23 23 9 13 12 16 114 54 36 Total 108 55 41 204
1. (a) What is the probability that a randomly chosen male respondent or his partner has blue eyes?
2. (b) What is the probability that a randomly chosen male respondent with blue eyes has a partner with blue eyes?
3. (c) What is the probability that a randomly chosen male respondent with brown eyes has a partner with blue eyes? What about the probability of a randomly chosen male respondent with green eyes having a partner with blue eyes?
4. (d) Does it appear that the eye colors of male respondents and their partners are independent? Explain your reasoning.

2.21 Drawing box plots. After an introductory statistics course, 80% of students can successfully construct box plots. Of those who can construct box plots, 86% passed, while only 65% of those students who could not construct box plots passed.

1. (a) Construct a tree diagram of this scenario.
2. (b) Calculate the probability that a student is able to construct a box plot if it is known that he passed.

2.22 Predisposition for thrombosis. A genetic test is used to determine if people have a predisposition for thrombosis, which is the formation of a blood clot inside a blood vessel that obstructs the ow of blood through the circulatory system. It is believed that 3% of people actually have this predisposition. The genetic test is 99% accurate if a person actually has the predisposition, meaning that the probability of a positive test result when a person actually has the predisposition is 0.99. The test is 98% accurate if a person does not have the predisposition. What is the probability that a randomly selected person who tests positive for the predisposition by the test actually has the predisposition?

2.23 HIV in Swaziland. Swaziland has the highest HIV prevalence in the world: 25.9% of this country's population is infected with HIV.70 The ELISA test is one of the rst and most accurate tests for HIV. For those who carry HIV, the ELISA test is 99.7% accurate. For those who do not carry HIV, the test is 92.6% accurate. If an individual from Swaziland has tested positive, what

is the probability that he carries HIV?

2.24 Exit poll. Edison Research gathered exit poll results from several sources for the Wisconsin recall election of Scott Walker. They found that 53% of the respondents voted in favor of Scott Walker. Additionally, they estimated that of those who did vote in favor for Scott Walker, 37% had a college degree, while 44% of those who voted against Scott Walker had a college degree. Suppose we randomly sampled a person who participated in the exit poll and found that he had a college degree. What is the probability that he voted in favor of Scott Walker?71

69B. Laeng et al. \Why do blue-eyed men prefer women with the same eye color?" In: Behavioral Ecology and Sociobiology 61.3 (2007), pp. 371{384.

70Source: CIA Factbook, Country Comparison: HIV/AIDS - Adult Prevalence Rate.

71New York Times, Wisconsin recall exit polls.

2.25 It's never lupus. Lupus is a medical phenomenon where antibodies that are supposed to attack foreign cells to prevent infections instead see plasma proteins as foreign bodies, leading to a high risk of blood clotting. It is believed that 2% of the population suffer from this disease. The test is 98% accurate if a person actually has the disease. The test is 74% accurate if a person does not have the disease.

There is a line from the Fox television show House that is often used after a patient tests positive for lupus: \It's never lupus." Do you think there is truth to this statement? Use appropriate probabilities to support your answer.

2.26 Twins. About 30% of human twins are identical, and the rest are fraternal. Identical twins are necessarily the same sex { half are males and the other half are females. One-quarter of fraternal twins are both male, one-quarter both female, and one-half are mixes: one male, one female. You have just become a parent of twins and are told they are both girls. Given this information, what is the probability that they are identical?

2.4: Sampling from a Small Population

2.27 Urns and marbles, Part I. Imagine you have an urn containing 5 red, 3 blue, and 2 orange marbles in it.

1. (a) What is the probability that the rst marble you draw is blue?
2. (b) Suppose you drew a blue marble in the rst draw. If drawing with replacement, what is the probability of drawing a blue marble in the second draw?
3. (c) Suppose you instead drew an orange marble in the rst draw. If drawing with replacement, what is the probability of drawing a blue marble in the second draw?
4. (d) If drawing with replacement, what is the probability of drawing two blue marbles in a row?
5. (e) When drawing with replacement, are the draws independent? Explain.

2.28 Socks in a drawer. In your sock drawer you have 4 blue, 5 gray, and 3 black socks. Half asleep one morning you grab 2 socks at random and put them on. Find the probability you end up wearing

1. (a) 2 blue socks
2. (b) no gray socks
3. (c) at least 1 black sock
4. (d) a green sock
5. (e) matching socks

2.29 Urns and marbles, Part II. Imagine you have an urn containing 5 red, 3 blue, and 2 orange marbles.

1. (a) Suppose you draw a marble and it is blue. If drawing without replacement, what is the probability the next is also blue?
2. (b) Suppose you draw a marble and it is orange, and then you draw a second marble without replacement. What is the probability this second marble is blue?
3. (c) If drawing without replacement, what is the probability of drawing two blue marbles in a row?
4. (d) When drawing without replacement, are the draws independent? Explain.

2.30 Books on a bookshelf. The table below shows the distribution of books on a bookcase based on whether they are nonfiction or ction and hardcover or paperback.

 Hardcover Paperback Total Fiction Nonfiction 13 15 59 8 72 23 Total 28 67 95
1. (a) Find the probability of drawing a hardcover book rst then a paperback ction book second when drawing without replacement.
2. (b) Determine the probability of drawing a ction book rst and then a hardcover book second, when drawing without replacement.
3. (c) Calculate the probability of the scenario in part (b), except this time complete the calculations under the scenario where the rst book is placed back on the bookcase before randomly drawing the second book.
4. (d) The nal answers to parts (b) and (c) are very similar. Explain why this is the case.

2.31 Student outfits. In a classroom with 24 students, 7 students are wearing jeans, 4 are wearing shorts, 8 are wearing skirts, and the rest are wearing leggings. If we randomly select 3 students without replacement, what is the probability that one of the selected students is wearing leggings and the other two are wearing jeans? Note that these are mutually exclusive clothing options.

2.32 The birthday problem. Suppose we pick three people at random. For each of the following questions, ignore the special case where someone might be born on February 29th, and assume that births are evenly distributed throughout the year.

1. (a) What is the probability that the rst two people share a birthday?
2. (b) What is the probability that at least two people share a birthday?

2.5: Random Variables

2.33 College smokers. At a university, 13% of students smoke.

1. (a) Calculate the expected number of smokers in a random sample of 100 students from this university.
2. (b) The university gym opens at 9am on Saturday mornings. One Saturday morning at 8:55am there are 27 students outside the gym waiting for it to open. Should you use the same approach from part (a) to calculate the expected number of smokers among these 27 students?

2.34 Card game. Consider the following card game with a well-shuffled deck of cards. If you draw a red card, you win nothing. If you get a spade, you win $5. For any club, you win$10 plus an extra $20 for the ace of clubs. 1. (a) Create a probability model for the amount you win at this game. Also, nd the expected winnings for a single game and the standard deviation of the winnings. 2. (b) What is the maximum amount you would be willing to pay to play this game? Explain. 2.35 Another card game. In a new card game, you start with a well-shuffed full deck and draw 3 cards without replacement. If you draw 3 hearts, you win$50. If you draw 3 black cards, you win $25. For any other draws, you win nothing. 1. (a) Create a probability model for the amount you win at this game, and nd the expected winnings. Also compute the standard deviation of this distribution. 2. (b) If the game costs$5 to play, what would be the expected value and standard deviation of the net pro t (or loss)? (Hint: profit = winnings - cost; X - 5)
3. (c) If the game costs $5 to play, should you play this game? Explain. 2.36 Is it worth it? Andy is always looking for ways to make money fast. Lately, he has been trying to make money by gambling. Here is the game he is considering playing: The game costs$2 to play. He draws a card from a deck. If he gets a number card (2-10), he wins nothing. For any face card (jack, queen or king), he wins $3. For any ace, he wins$5, and he wins an extra $20 if he draws the ace of clubs. 1. (a) Create a probability model and nd Andy's expected pro t per game. 2. (b) Would you recommend this game to Andy as a good way to make money? Explain. 2.37 Portfolio return. A portfolio's value increases by 18% during a nancial boom and by 9% during normal times. It decreases by 12% during a recession. What is the expected return on this portfolio if each scenario is equally likely? 2.38 A game of roulette, Part I. The game of roulette involves spinning a wheel with 38 slots: 18 red, 18 black, and 2 green. A ball is spun onto the wheel and will eventually land in a slot, where each slot has an equal chance of capturing the ball. Gamblers can place bets on red or black. If the ball lands on their color, they double their money. If it lands on another color, they lose their money. Suppose you bet$1 on red. What's the expected value and standard deviation of your winnings?

2.39 A game of roulette, Part II. Exercise 2.38 describes winnings on a game of roulette.

1. (a) Suppose you play roulette and bet $3 on a single round. What is the expected value and standard deviation of your total winnings? 2. (b) Suppose you bet$1 in three different rounds. What is the expected value and standard deviation of your total winnings?
3. (c) How do your answers to parts (a) and (b) compare? What does this say about the riskiness of the two games?

2.40 Baggage fees. An airline charges the following baggage fees: $25 for the rst 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.

1. (a) Build a probability model, compute the average revenue per passenger, and compute the corresponding standard deviation.
2. (b) About how much revenue should the airline expect for a flight of 120 passengers? With what standard deviation? Note any assumptions you make and if you think they are justified.

2.41 Dodgers vs. Padres. You and your friend decide to bet on the Major League Baseball game happening one evening between the Los Angeles Dodgers and the San Diego Padres. Suppose current statistics indicate that the Dodgers have a 0.46 probability of winning this game against the Padres. If your friend bets you $5 that the Dodgers will win, how much would you need to bet on the Padres to make this a fair game? 2.42 Selling on Ebay. Marcie has been tracking the following two items on Ebay: • A textbook that sells for an average of$110 with a standard deviation of $4. • Mario Kart for the Nintendo Wii, which sells for an average of$38 with a standard deviation of $5. 1. (a) Marcie wants to sell the video game and buy the textbook. How much net money (profits - losses) would she expect to make or spend? Also compute the standard deviation of how much she would make or spend. 2. (b) Lucy is selling the textbook on Ebay for a friend, and her friend is giving her a 10% commission (Lucy keeps 10% of the revenue). How much money should she expect to make? With what standard deviation? 2.43 Cost of breakfast. Sally gets a cup of coffee and a muffin every day for breakfast from one of the many coffee shops in her neighborhood. She picks a coffee shop each morning at random and independently of previous days. The average price of a cup of coffee is$1.40 with a standard deviation of 30¢($0.30), the average price of a muffin is$2.50 with a standard deviation of 15¢, and the two prices are independent of each other.

1. (a) What is the mean and standard deviation of the amount she spends on breakfast daily?
2. (b) What is the mean and standard deviation of the amount she spends on breakfast weekly (7 days)?

2.44 Ice cream. Ice cream usually comes in 1.5 quart boxes (48 uid ounces), and ice cream scoops hold about 2 ounces. However, there is some variability in the amount of ice cream in a box as well as the amount of ice cream scooped out. We represent the amount of ice cream in the box as X and the amount scooped out as Y . Suppose these random variables have the following means, standard deviations, and variances

 mean SD variance X 48 1 1 Y 2 0.25 0.0625
1. (a) An entire box of ice cream, plus 3 scoops from a second box is served at a party. How much ice cream do you expect to have been served at this party? What is the standard deviation of the amount of ice cream served?
2. (b) How much ice cream would you expect to be left in the box after scooping out one scoop of ice cream? That is, nd the expected value of X - Y . What is the standard deviation of the amount left in the box?
3. (c) Using the context of this exercise, explain why we add variances when we subtract one random variable from another.

2.6: Continuous Distributions

2.45 Cat weights. The histogram shown below represents the weights (in kg) of 47 female and 97 male cats.72

1. (a) What fraction of these cats weigh less than 2.5 kg?
2. (b) What fraction of these cats weigh between 2.5 and 2.75 kg?
3. (c) What fraction of these cats weigh between 2.75 and 3.5 kg?

72W. N. Venables and B. D. Ripley. Modern Applied Statistics with S. Fourth Edition. http://www.stats.ox.ac.uk/pub/MASS4. New York: Springer, 2002.

2.46 Income and gender. The relative frequency table below displays the distribution of annual total personal income (in 2009 ination-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.73

 Income Total $1 to$9,999 or loss $10,000 to$14,999 $15,000 to$24,999 $25,000 to$34,999 $35,000 to$49,999 $50,000 to$64,999 $65,000 to$74,999 $75,000 to$99,999 $100,000 or more 2.2% 4.7% 15.8% 18.3% 21.2% 13.9% 5.8% 8.4% 9.7% 1. (a) Describe the distribution of total personal income. 2. (b) What is the probability that a randomly chosen US resident makes less than$50,000 per year?
3. (c) What is the probability that a randomly chosen US resident makes less than $50,000 per year and is female? Note any assumptions you make. 4. (d) The same data source indicates that 71.8% of females make less than$50,000 per year. Use this value to determine whether or not the assumption you made in part (c) is valid.