Probability and Distributions · free preview

Final Exam

Final exam covering the whole course.

1. How this assessment works

This lesson is a curated assessment adapted from MIT OpenCourseWare 6.041SC Probabilistic Systems Analysis and Applied Probability (Fall 2013), supplemented by a university mathematics question bank (https://ocw.mit.edu/courses/6-041sc-probabilistic-systems-analysis-and-applied-probability-fall-2013/), used under CC BY-NC-SA 4.0 for the MIT items. Work through the 10 problems in order, for each problem, type your reasoning in the answer box or write it on the handwriting pad, then submit it for AI grading.

How the grading works Every problem is graded by an AI mathematics teacher that reads the official solution shipped with the course. It checks your work criterion by criterion, awards partial credit for correct steps, and returns written feedback. Equivalent mathematics and valid alternative methods are accepted, a different route to the same result can still earn full marks.

If your answer is incomplete, the feedback names exactly which steps are missing, so you can correct them and try again.

2. Problem 1, Weather forecast and umbrella probability

Most mornings, Victor checks the weather report before deciding whether to carry an umbrella. If the forecast is "rain," the probability of actually having rain that day is 80\%. On the other hand, if the forecast is "no rain," the probability of it actually raining is equal to 10\%. During fall and winter the forecast is "rain" 70\% of the time and during summer and spring it is 20\%.

(a) One day, Victor missed the forecast and it rained. What is the probability that the forecast was "rain" if it was during the winter? What is the probability that the forecast was "rain" if it was during the summer?

(b) The probability of Victor missing the morning forecast is equal to 0.2 on any day in the year. If he misses the forecast, Victor will flip a fair coin to decide whether to carry an umbrella. On any day of a given season he sees the forecast, if it says "rain" he will always carry an umbrella, and if it says "no rain," he will not carry an umbrella. Are the events "Victor is carrying an umbrella," and "The forecast is no rain" independent? Does your answer depend on the season?

(c) Victor is carrying an umbrella and it is not raining. What is the probability that he saw the forecast? Does it depend on the season?

3. Problem 2, PMF mean variance of dice difference

Two fair three-sided dice are rolled simultaneously. Let XX be the difference of the two rolls. Calculate the PMF, the expected value, and the variance of XX.

4. Problem 3, PMF of squared dice difference

Two fair three-sided dice are rolled simultaneously. Let XX be the difference of the two rolls. Calculate and plot the PMF of X2X^2.

5. Problem 4, Joint PMF and derived statistics

Random variables XX and YY have the joint PMF

pX,Y(x,y)={c(x2+y2),if x∈{1,2,4} and y∈{1,3},0,otherwise.p_{X,Y}(x,y) = \begin{cases} c(x^2 + y^2), & \text{if } x \in \{1, 2, 4\} \text{ and } y \in \{1, 3\},\\ 0, & \text{otherwise}. \end{cases}

(a) What is the value of the constant cc?

(b) What is P(Y<X)P(Y < X)?

(c) What is P(Y>X)P(Y > X)?

(d) What is P(Y=X)P(Y = X)?

(e) What is P(Y=3)P(Y = 3)?

(f) Find the marginal PMFs pX(x)p_X(x) and pY(y)p_Y(y).

(g) Find the expectations E[X]E[X], E[Y]E[Y] and E[XY]E[XY].

(h) Find the variances var⁡(X)\operatorname{var}(X), var⁡(Y)\operatorname{var}(Y) and var⁡(X+Y)\operatorname{var}(X + Y).

(i) Let AA denote the event X≥YX \ge Y. Find E[X∣A]E[X \mid A] and var⁡(X∣A)\operatorname{var}(X \mid A).

6. Problem 5, Three-sided die, exactly three results equal 3

What is the probability that exactly three of the rolls have result equal to 33?

7. Problem 6, Conditional distribution for sum of geometric random variables

Suppose that XX and YY are independent, identically distributed, geometric random variables with parameter pp. Show that

P(X=i∣X+Y=n)anc=1n−1,for i=1,2,…,n−1.P(X = i \mid X + Y = n)anc = \frac{1}{n-1}, \quad \text{for } i = 1, 2, \ldots, n-1.

8. Problem 7, Biased coin tosses, independence, counting, conditional probability

Consider 10 independent tosses of a biased coin with a probability of heads of pp.

(a) Let AA be the event that there are 6 heads in the first 8 tosses. Let BB be the event that the 9th toss results in heads. Show that events AA and BB are independent.

(b) Find the probability that there are 3 heads in the first 4 tosses and 2 heads in the last 3 tosses.

(c) Given that there were 4 heads in the first 7 tosses, find the probability that the 2nd head occurred during the 4th trial.

(d) Find the probability that there are 5 heads in the first 8 tosses and 3 heads in the last 5 tosses.

9. Problem 8, Rewards when tails follow heads; mean and variance

Consider a sequence of independent tosses of a biased coin at times t=0,1,2,…t = 0, 1, 2, \ldots. On each toss, the probability of a 'head' is pp, and the probability of a 'tail' is 1−p1 - p. A reward of one unit is given each time that a 'tail' follows immediately after a 'head.' Let RR be the total reward paid in times 1,2,…,n1, 2, \ldots, n. Find E[R]E[R] and var⁡(R)\operatorname{var}(R).

10. Problem 9, Indicator random variables, independence and expectation

A simple example of a random variable is the indicator of an event AA, which is denoted by IAI_A.

IA(ω)={1,if ω∈A,0,otherwise.I_A(\omega) = \begin{cases} 1, & \text{if } \omega \in A,\\ 0, & \text{otherwise}. \end{cases}

(a) Prove that two events AA and BB are independent if and only if the associated indicator random variables, IAI_A and IBI_B, are independent.

(b) Show that if X=IAX = I_A, then E[X]=P(A)E[X] = P(A).

11. Problem 10, Three-sided die, binomial counts, conditionals, sequence probability

The newest invention of the 6.041/6.431 staff is a three-sided die with faces numbered 1,2,1, 2, and 33. The PMF for the result of any one roll of this die is

pX(x)={1/2,if x=1,1/4,if x=2,1/4,if x=3,0,otherwise.p_X(x) = \begin{cases} 1/2, & \text{if } x = 1,\\ 1/4, & \text{if } x = 2,\\ 1/4, & \text{if } x = 3,\\ 0, & \text{otherwise}. \end{cases}

Consider a sequence of six independent rolls of this die, and let XiX_i be the random variable corresponding to the iith roll.

(a) What is the probability that exactly three of the rolls have result equal to 33?

(b) What is the probability that the first roll is 11, given that exactly two of the six rolls have result of 11?

(c) We are told that exactly three of the rolls resulted in 11 and exactly three resulted in 22. Given this information, what is the probability that the sequence of rolls is 121212121212?

(d) Conditioned on the event that at least one roll resulted in 33, find the conditional PMF of the number of 33's.

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free