Introduction to Probability · free preview

Chapter 9 Problem Set. Conditional Expectation

Problem set for this chapter. Conditional Expectation.

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, 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).

3. Problem 2, Piecewise joint PDF independence conditioning and CDF

XX and YY are continuous random variables. XX takes on values between 00 and 22 while YY takes on values between 00 and 11. Their joint pdf is indicated below fX,Y(x,y)=12f_{X,Y}(x,y)=\frac{1}{2} on the region shown with label 12\frac{1}{2} and fX,Y(x,y)=32f_{X,Y}(x,y)=\frac{3}{2} on the region shown with label 32\frac{3}{2} (the pdf is piecewise constant over the two triangular/subregions of the unit strip as drawn, and zero elsewhere).

(a) Are XX and YY independent? Present a convincing argument for your answer.

(b) Prepare neat, fully labelled plots for fX(x)f_X(x), fY∣X(y∣0.5)f_{Y|X}(y\mid 0.5), and fX∣Y(x∣0.5)f_{X|Y}(x\mid 0.5).

(c) Let R=XYR=XY and let AA be the event X<0.5X<0.5. Evaluate E[R∣A]E[R\mid A].

(d) Let W=Y−XW=Y-X and determine the cumulative distribution function (CDF) of WW.

4. Problem 3, Joint PDF, marginals, conditional expectation, and transformation

Random variables XX and YY are distributed according to the joint PDF

fX,Y(x,y)={ax,if 1≤x≤2 and 0≤y≤x,0,otherwise. f_{X,Y}(x, y) = \begin{cases} a x, & \text{if } 1 \le x \le 2 \text{ and } 0 \le y \le x, \\ 0, & \text{otherwise}. \end{cases}

(a) Evaluate the constant aa. (b) Determine the marginal PDF fY(y)f_Y(y). (c) Determine the conditional expectation of 1/X1/X given that Y=3/2Y = 3/2. (d) Random variable ZZ is defined by Z=Y−XZ = Y - X. Determine the PDF fZ(z)f_Z(z).

5. Problem 4, Conditional distributions from a piecewise-uniform joint PDF

Random variables XX and YY have the joint PDF shown below, the support is a polygon with corners (−1,−2),(1,−2),(2,−1),(terr?),(-1,-2), (1,-2), (2,-1), ( terr?), and fX,Y(x,y)=0.1f_{X,Y}(x,y) = 0.1 on the region. The region is the square [−1,1]×[−2,2][-1,1]\times[-2,2] minus the two corner triangles, the triangle below the line y=−x−3y = -x - 3?

From the figure: support is {(x,y):−1≤x≤2, −2≤y≤2, y≤x+1? and y≥−x−1? and y≤x−?} \text{From the figure: support is } \{(x,y): -1 \le x \le 2,\ -2 \le y \le 2,\ y \le x+1? \text{ and } y \ge -x-1? \ \text{and } y \le x-? \}

Precisely, from the solution, the joint PDF equals 0.10.1 on the complement within the rectangle [−1,2]×[−2,2][-1,2]\times[-2,2] of the two triangles below the lines y=−x−1y=-x-1 and y=x−?y=x-? Wait from conditional uniform fX,Y(x,y)=0.1f_{X,Y}(x,y)=0.1 on the region, for −1≤x≤2-1 \le x \le 2yy ranges from max⁡(−2,−x−3?)\max(-2,-x-3?) to min⁡(2,x+?)\min(2, x+?) Actually from solution, if X=x∈[−1,1]X=x \in [-1,1], YY is uniform [−2,2][-2,2]; if x∈[1,2]x \in [1,2], YY uniform [−1,1][-1,1]. If Y=y∈[−1,1]Y=y \in [-1,1], XX uniform [−1,2][-1,2]; if y∈[1,2]y \in [1,2] or [−2,−1][-2,-1], XX uniform [−1,1][-1,1]. Thus the region is [−1,2]×[−1,1][-1,2]\times[-1,1] plus [−1,1]×[−2,−1][-1,1]\times[-2,-1] plus [−1,1]×[1,2][-1,1]\times[1,2]. The joint PDF is 0.10.1 on this region. (a) Find fY∣X(y∣x)f_{Y\mid X}(y\mid x) and fX∣Y(x∣y)f_{X\mid Y}(x\mid y). (b) Find E[X∣Y=y]\mathbb{E}[X\mid Y=y], E[X]\mathbb{E}[X], and var⁡(X∣Y=y)\operatorname{var}(X\mid Y=y). Use these to calculate var⁡(X)\operatorname{var}(X). (c) Find E[Y∣X=x]\mathbb{E}[Y\mid X=x], E[Y]\mathbb{E}[Y], and var⁡(Y∣X=x)\operatorname{var}(Y\mid X=x). Use these to calculate var⁡(Y)\operatorname{var}(Y).

6. Problem 5, Conditional expectation with sum constraints

Let X1,X2,…,Xn,Xn+1,…,X2nX_1, X_2, \ldots, X_n, X_{n+1}, \ldots, X_{2n} be independent and identically distributed random variables.

(a) Find

E[X1∣X1+X2+⋯+Xn=x0], \mathbb{E}[X_1 \mid X_1 + X_2 + \cdots + X_n = x_0],

where x0x_0 is a constant.

(b) Define

Sk=X1+X2+⋯+Xk,1≤k≤2n. S_k = X_1 + X_2 + \cdots + X_k, \quad 1 \le k \le 2n.

Find

E[X1∣Sn=sn,Sn+1=sn+1,…,S2n=s2n], \mathbb{E}[X_1 \mid S_n = s_n, S_{n+1} = s_{n+1}, \ldots, S_{2n} = s_{2n}],

where sn,sn+1,…,s2ns_n, s_{n+1}, \ldots, s_{2n} are constants.

7. Problem 6, Mean and variance of passed dogs

If he starts out with exactly mm cans, determine the expected value and variance of DmD_m, the number of homes with dogs which he passes up (because of no answer) before he needs a new supply.

8. Problem 7, Conditional and MAP estimation for a joint PDF

The joint PDF of XX and YY is defined as follows

fX,Y(x,y)={cxyif 0<x≤1, 0<y≤1,0otherwise.f_{X,Y}(x,y)=\begin{cases}cxy & \text{if }0<x\le 1,\ 0<y\le 1,\\ 0 & \text{otherwise.}\end{cases}

(a) Find the normalization constant cc.

(b) Compute the conditional expectation estimator of XX based on the observed value Y=yY=y.

(c) Is this estimate different from what you would have guessed before you saw the value Y=yY=y? Explain.

(d) Repeat (b) and (c) for the MAP estimator.

9. Problem 8, Mean, variance, and PDF of combination of uniform and exponential

XX is a (continuous) uniform random variable on [0,4][0,4]. YY is an exponential random variable, independent from XX, with parameter λ=2\lambda=2.

  1. Find the mean and variance of X−3YX-3Y.
  1. Find the probability that Y≥XY\ge X. (Let cc be the answer to this question.)
  1. Find the conditional joint PDF of XX and YY, given that the event Y≥XY\ge X has occurred. (You may express your answer in terms of the constant cc from the previous part.)
  1. Find the PDF of Z=X+YZ=X+Y.
  1. Provide a fully labeled sketch of the conditional PDF of ZZ given that Y=3Y=3.
  1. Find E[Z∣Y=y]E[Z\mid Y=y] and E[Z∣Y]E[Z\mid Y].
  1. Find the joint PDF fZ,Yf_{Z,Y} of ZZ and YY.
  1. A random variable WBudweiserWBudweiser is defined as follows. We toss a fair coin (independent of YY). If the result is heads, we let W=YW=Y; if it is tails, we let W=2+YW=2+Y. Find the probability of heads given that W=3W=3.

10. Problem 9, Normal random sums, variance, uncorrelatedness, and independence

Let X,X1,X2,…X, X_1, X_2, \ldots be independent normal random variables with mean 00 and variance 99. Let NN be a positive integer random variable with E[N]=2E[N]=2 and E[N2]=5E[N^2]=5. We assume that the random variables N,X,X1,X2,…N, X, X_1, X_2, \ldots are independent. Let S=∑i=1NXiS=\sum_{i=1}^{N} X_i.

  1. If δ\delta is a small positive number, we have P(1≤∣X∣≤1+δ)≈αδP(1\le |X|\le 1+\delta)\approx\alpha\delta, for some constant α\alpha. Find the value of α\alpha.
  1. Find the variance of SS.
  1. Are NN and SS uncorrelated? Justify your answer.
  1. Are NN and SS independent? Justify your answer.

11. Problem 10, Type of E[X|Y]

Let XX and YY be continuous random variables and NN a discrete random variable. The quantity E[X∣Y]E[X\mid Y] is always, (i) A number. (ii) A discrete random variable. (iii) A continuous random variable. (iv) Not enough information to choose between (i)-(iii).

Practice this interactively

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

Start this course for free