Due date: Tuesday 2/10, 11:59pm
Bernoulli process
01
08
Link to originalPrize on the Mall
A booth on the Mall is running a secret prize game, in which the passerby wearing a hat wins $1,000.
Passersby wear hats independently of each other and with probability 20%.
Let be a random variable counting how many passersby pass by before a winner is found.
(a) What is the name of the distribution for ? What are the parameters?
(b) What is the probability that the passerby wins the prize?
(c) What is the probability that at least passersby are needed before a winner is found?
Solution
Solutions - 5110-08
(a)
follows a Pascal distribution with parameters and .
(b)
Compute :
(c)
Compute :
The minimum number of passersby before a winner is declared is , so .
Link to original
02
06
Link to originalGeometric distribution is memoryless
Suppose that . Derive this equation:
Interpret the equation. (Inspired by the title.)
Solution
Solutions - 5110-06
(1) Set up conditional probability formula:
(2) Find formulas for numerator and denominator:
(3) Plug in and simplify:
Link to original
03
07
Link to originalHalf the babies are female?
At Grace Community Hospital, 4 babies are delivered in one day. At Hope Valley Hospital, 6 babies are delivered in one day.
Consider these two events:
- (i) exactly half the babies born at Grace Community are female
- (ii) exactly half the babies born at Hope Valley are female
Perform a calculation to determine whether Event (i) is more probable, Event (ii) is more probable, or they are equally probable. (Assume the probability of each baby being born male or female is .)
Solution
Solutions - 5100-07
(i):
(ii):
So event (i) is more probable.
Link to original
04
05
Link to originalA very strange car
A very strange car with components will drive if at least half of its components work. Each component will work with the same probability , independently of the others.
For what values of is a car with more likely to drive than a car with ?
(Start by defining a random variable that counts the number of working components.)
Solution
Solutions - 5110-05
(1) Define random variables:
Let represent the car with three components.
Let represent the car with five components.
(2) Find probabilities that both cars work:
For the three-component car, we want , so
For the five-component car, we want , so
(3) Find when :
Solve the inequality for :
Link to original
Expectation and variance
05
04
Link to originalTutoring needs
A course with 6 students offers free one-on-one tutoring to each student for 1 hour the week before the final exam. One tutor, Jim, has been hired to provide this tutoring, but he is available for only 4 hours that week. The instructor of the course will tutor any students that Jim is not able to help. Jim will be paid $20 per hour by the department. The instructor will provide tutoring for free. Let be the number of students that will need tutoring. The PMF of is given below.
(a) Find the probability the instructor will need to provide tutoring.
(b) Find the expected value of the number of students that will need tutoring.
Solution
Solutions - 5120-04
(a)
(b)
Link to original
06
01
Link to originalStudents and buses expect different crowding
Bus One has 10 students, Bus Two has 20, Bus Three has 30, and Bus Four has 40.
- Let measure the number of students on a given random student’s bus.
- Let measure the number of students on a given random driver’s bus.
Compute and . Are they different? Why or why not?
Solution
Solutions - 5120-01
(1) Compute :
There are total students.
Let be the probability that Bus is selected, where .
Note that .
(2) Compute :
Let be the probability that Bus is selected.
Since it’s based off the drivers, for all .
(3) Interpret solution:
For a driver, each bus is equally likely to be experienced.
For a student, you are more likely to find yourself on the bus with more students, so your experience is weighted towards the more crowded bus.
Link to original
Review problems
07
04
Link to originalRolling two dice
Two dice are rolled. Find the probabilities of the following events:
- , the event that the sum is 10
- , the event that the sum is 12
- , the event that the two numbers are equal
Solution
Solutions - 5070-04
There are total outcomes when rolling two dice.
(1) Compute :
Desired outcomes for sum : , , — 3 outcomes.
(2) Compute :
Desired outcomes for sum : — 1 outcome.
(3) Compute :
Desired outcomes for equal numbers: , , , , , — 6 outcomes.
Link to original
08
03
Link to originalBayes’ Theorem - DNA evidence
A crime is committed in a town of 100,000 citizens. After all 100,000 citizens’ DNA is analyzed, your friend Jim is found to have a DNA match to evidence at the scene. A forensics expert says that the probability of an innocent person matching this evidence is 0.01% (i.e. the false positive rate). How likely is it that Jim is guilty?
Solution
Solutions - 5040-03
(1) Define events:
Let be the event that Jim is guilty.
Let be the event that the DNA matches.
We are given that .
We assume that .
Since there are 100,000 citizens, , .
We are asked to compute .
(2) Set up Bayes’ Theorem:
(3) Plug in values:
Link to original
Optional challenge problems
- Complete any one of these problems instead of two of the above problems of your choice.
- You must indicate on your paper which of the above two should be replaced by this one. Indicate at both the above two problems (can otherwise leave blank) to direct the grader to the last page where you work your choice of challenge problem.
- Limit of one substitution.
09
07
Link to originalBinomial ratios
Suppose .
- Find the value of that maximizes . Do this by studying the successive ratios .
- Use these ratios to compute as a sum of 5 terms without using factorials. Do this by computing directly, and then writing a recursive algorithm that determines in terms of .
Solution
Solutions - 5110-07
(1) Find formula for ratio :
(2) Interpret ratio:
We want , so .
Solving for , we get .
Since is an integer, is maximized when .
(3) Compute directly:
Based on the figure, and .
(4) Use ratio to solve for successive terms:
(5) Add up probabilities:
Link to original
10
03
Link to originalExpectation, variance of geometric variable
Derive formulas for and given .
Hint: For you will get a sum that has terms like .
This series comes from the geometric series
(Differentiate both sides.)For you will need to consider this general fact of algebra: (And apply the same methods as above.)
Solution
Solutions - 5120-03
(1) State the PMF of a geometric random variable:
(2) Use formula for expectation to find :
(3) Apply hint:
We have that .
Differentiating both sides yields .
Note that here, , so
(4) Find expression for :
Note that .
Applying the hint, we have .
Using the linearity of expectation, we can write this as .
(5) Find and :
First, note that the second derivative of is .
Thus, .
(6) Find :
Link to original
