If you roll a pair of fair dice, what is the probability of
The probability of getting a sum of 1 is 0 since 1 is not in the sample space (2,12)
Any particular combination of two rolls has a probability of \(\frac{1}{6}\cdot\frac{1}{6} = \frac{1}{36}\) but there are 4 combinations in the sample space that add up to 5: (1,4), (4, 1), (2,3) and (3,2) yielding \(P(sum\ of\ two\ rolls = 5) = 4\cdot \frac{1}{36} = \frac{1}{9}\)
\(P(sum \ of \ two \ rolls = 12) = 1* \frac{1}{36} = \frac{1}{36}\)
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.
I will be using the random variable X to refer to the number of days missed by a single student
\(P(a\ student\ misses\ no\ days) = P(X=0) = 1 - P(X=1) - P(X=2) - P(X>=3) = 1 - 0.25 - 0.15 - 0.28 = 0.32\)
\(P(student\ misses\ no\ more\ than\ 1\ day) = P(X<=1) = P(X=0)+P(X=1) = 0.32+0.25=0.57\)
\(P(student\ misses\ at\ least\ 1\ day) = P(X>=1) = 1 - P(0) = 1 - 0.32 = 0.68\)
Assumption: The events are independent and one kid’s absence does not affect his/her siblings absence.
\(P(neither\ kid\ misses\ any\ school) = P(X_1=0 \cap X_2=0)=P(X_1=0)\cdot P(X_2=0) = 0.32\cdot 0.32 = 0.1024\)
Assumption: The events are independent and one kid’s absence does not affect his/her siblings absence.
\(P(both\ kids\ miss\ at\ some\ school) = P(X_1>=1 \cap X_2>=1)=P(X_1>=1)\cdot P(X_2>=1) = 0.68 \cdot 0.68 = 0.4624\)
The assumption is reasonable since kids are most likely to miss school due illness which typically affects only one of the siblings. It is less likely, that the kids will miss school at the same time for example due to holidays taken outside of a regular school vacation or extraordinary circumstances that would affect both siblings.
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 displays the distribution of health status of respondents to this survey (excellent, very good, good, fair, poor) and whether or not they have health insurance.
## Excellent Very Good Good Fair Poor
## No Coverage 0.0230 0.0364 0.0427 0.0192 0.0050
## Coverage 0.2099 0.3123 0.2410 0.0817 0.0289
No. The occurrence of one event does not preclude the occurrence of the other. The probability of being in excellent health while having coverage is non-zero (0.2099)
colSums(mat,1)[1]
## Excellent
## 0.2329
\(P(excellent\ health\ |\ health\ coverage) = \frac{P(excellent\ health\ \cap\ health\ coverage)}{P(health\ coverage)} = \frac{0.2099}{0.2099+0.3123+0.2410+0.0817+0.0290} = \frac{0.2099}{0.8738} = 0.2402152\)
\(P(excellent\ health\ |\ no\ health\ coverage) = \frac{P(excellent\ health\ \cap\ no\ health\ coverage)}{P(no\ health\ coverage)} = \frac{0.0230}{0.0230+0.0364+0.0427+0.0192+0.0050} = \frac{0.0230}{0.1263} = 0.1821061\)
\(P(excellent\ health\ \cap\ health\ coverage) = 0.2099 \\ P(excellent\ health) \cdot P(coverage) = 0.2329 \cdot 0.8738 = 0.203508\)
It does appear that the two events are independent as the difference between \(P(excellent\ health\ \cap\ health\ coverage)\) and \(P(excellent\ health) \cdot P(coverage)\) is less than 1%.
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?
\(P(voted\ for\ SW) = 0.53 \\ P(voted\ for\ SW\ \cap\ college\ degree) = 0.37 \\ P(against\ SW\ \cap\ college\ degree) = 0.44\)
We extrapolate the following information from the above and populate the table
\(P(voted\ against\ SW) = P(voted\ for\ SW)^c = 1- 0.53 = 0.47 \\ P(voted\ for\ SW\ \cap\ no\ college\ degree) = P(voted\ for\ SW) - P(voted\ for\ SW\ \cap\ college\ degree) = 0.53 - 0.37 = 0.16 \\ P(against\ SW\ \cap\ no\ college\ degree) = P(voted\ against\ SW) - P(voted\ against\ SW\ \cap\ college\ degree) = 0.47 - 0.44 = 0.03\)$
## College Degree No College Degree
## For SW 0.37 0.16
## Against SW 0.44 0.03
\(P(voted\ for\ SW\ |\ college\ degree) = \frac{P(voted\ for\ SW\ \cap\ college\ degree)}{P(college\ degree)} = \frac{0.37}{0.37+0.44}=0.4567901\)
The table below shows the distribution of books on a bookcase based on whether they are nonfiction or fiction and hardcover or paperback.
## hard paper
## fiction 13 59
## nonfiction 15 8
\(P(hardcover,\ paperback\ fiction) = P(drawing\ hardcover) \cdot\ P(paperback\ fiction) \\ \frac{28}{95} \cdot \frac{59}{94} = 0.1849944\)
\(P(fiction,\ hardcover) = P(fiction) \cdot\ P(hardcover) \\ \frac{72}{95} \cdot \frac{28}{94} = 0.2257559\)
\(P(fiction,\ hardcover) = P(fiction) \cdot\ P(hardcover) \\ \frac{72}{95} \cdot \frac{28}{95} = 0.2233795\)
If the sample size is large enough, sampling with replacement is only a marginal difference.
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 dollars 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 dollars. For any ace, he wins 5 dollars and he wins an extra $20 if he draws the ace of clubs.
\(P(win\ nothing) = \frac{8 \cdot 4}{52} = 0.6153846 \\ P(win\ \$3) = \frac{3 \cdot 4}{52} = 0.2307692 \\ P(win\ \$5) = \frac{3}{52} = 0.05769231 \\ P(win\ \$25) = \frac{1}{52} = 0.01923077\)
\(E[X] = 0 \cdot\ 0.6153846 + 3 \cdot\ 0.2307692 + 5 \cdot\ 0.05769231 + 25 \cdot\ 0.01923077= \$1.46\ to\ 2\ sf\)
I would not recommend this game because the expected profit is negative (-$0.54) when taking the cost of playing into account.
Ice cream usually comes in 1.5 quart boxes (48 fluid 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 Var
## X, In Box 48 1.00 1.0000
## Y, Scooped 2 0.25 0.0625
\(E[X+3Y] = E[X]+3E[Y] = 48+3\cdot2=54\ oz \\ \sigma_{X+3Y}^2 = \sigma_X^2+9\sigma_Y^2 = 1.5625 \\ \sigma_{X+3Y} =\sqrt{1.5625} = 1.25\ oz\)
\(E[X-Y] = E[X]-E[Y] = 48-2=46\ oz \\ \sigma_{X-Y}^2 = \sigma_X^2+\sigma_Y^2 = 1.0625 \\ \sigma_{X+3Y} =\sqrt{1.0625} = 1.030776\ oz\)
\(\sigma_{X-Y}^2 = \sigma_X^2+(-1)^2\sigma_Y^2 = \sigma_X^2+\sigma_Y^2\)