Summations
Binomial expectation and variance
Suppose we have repeated Bernoulli trials
The sum is a binomial variable:
We know
The summation rule for expectation:
The summation rule for variance:
Multinomial covariances
Each trial of an experiment has possible outcomes labeled
Let
Find
Solution
Notice that
The variance of a binomial is known to be
So we compute
Hats in the air
All
How many sailors do you expect will catch the hat they own? What is the variance of this number?
Solution Strangely, the answers are both 1, regardless of the number of sailors. Here is the reasoning:
(1) Let
Then
(2) Note that
Therefore:
(3) Similarly:
We need
(4) Use
(5) Now for covariance:
We need to compute
Notice that
We have:
Therefore:
(6) Putting everything together back in (1):
Months with a birthday
Suppose study groups of 10 are formed from a large population.
For a typical study group, how many months out of the year contain a birthday of a member of the group? (Assume the 12 months have equal duration.)
Solution
Let
So we seek
The answer will be
For a given
The complement event:
Therefore:
Pascal expectation and variance
Let
Let
counts the trials until the first success counts the trials after the first success until the second success counts the trials after the success until the success
Observe that
Notice that
Using the summation rule, conclude:
Central Limit Theorem
Test scores distribution
Explain what is wrong with the claim that test scores should be normally distributed when a large number of students take a test.
Can you imagine a scenario with a good argument that test scores would be normally distributed?
(Hint: think about the composition of a single test instead of the number of students taking the test.)
Height follows a bell curve
The height of female American basketball players follows a bell curve. Why?
Binomial estimation: 10,000 flips
Flip a fair coin 10,000 times. Write
Estimate the probability that
Solution
Check the rule of thumb:
Now, calculate needed quantities:
Set up CDF:
Compute desired probability:
Summing 1000 dice
About 1,000 dice are rolled.
Estimate the probability that the total sum of rolled numbers is more than 3,600.
Solution
Let
Let
We seek
Now, calculate needed quantities:
Set up CDF:
Compute desired probability:
Nutrition study
A nutrition review board will endorse a diet if it has any positive effect in at least 65% of those tested in a certain study with 100 participants.
Suppose the diet is bogus, but 50% of participants display some positive effect by pure chance.
What is the probability that it will be endorsed?
Answer
Continuity correction of absurd normal approximation
Let
Solution
We have
The usual approximation, since
Now using the continuity correction:
The exact solution is 0.0318, so this estimate is quite good: the error is 1.9%.