STP 421 Problem Set 3

Instructions:
STP 421 – Spring 2023 Problem Set 3 Due: February 27 2023
• Show your work and attempt every problem! Partial credit will be given if you can show some progress towards a solution. If you can’t solve a problem in full generality, try to solve some special cases.
• You may work in groups and consult outside resources (textbooks, web sites, etc.). How- ever, you should acknowledge any assistance received from other people or outside re- sources. If working in a group, please list the names of your group members.
• Submitted solutions should either be typed, preferably using LaTeX, or neatly handwrit- ten.
• Solutions should be submitted as PDF documents through Canvas. If submitting scanned images, please assemble all pages into a single PDF document prior to uploading to Canvas.

1.) Suppose that X is a discrete random variable which takes values in the set {−2, −1, 1, 2} with the following probabilities: P(X = −2) = P(X = 2) = 2/5 and P(X = −1) = P(X = 1) = 1/10. Calculate the following quantities:
(a) E[X]; (b) Var(X);
(c) E[sin(πX/2)].
2.) Let Z be an integer-valued random variable with probability mass function
􏰂 Cn−2 if n ̸= 0
(a) Find the value of the normalizing constant C.
(b) Calculate the probability of the event “Z is even.”
(c) Calculate the expected value of Z.
0 if n = 0.
3.) Suppose that X and Y are independent Bernoulli random variables with parameter p = 1/2 and let W = X .
(a) Find the probability mass function of W .
(b) Calculate E[W].
4.) Suppose that N is uniformly distributed on the integers {0, 1, · · · , n}. Conditional on N = k,
let X be uniformly distributed on the integers {0, 1, · · · , k}. (a) Find the probability mass function of X.
(b) Calculate E[N|X = k] for k = 0,··· ,n.
5.) Suppose that X and Y are independent integer-valued random variables with probability
massfunctionspX andpY andletZ=X+Y.
(a) Find an expression for the probability mass function pZ in terms of pX and pY .
(b) Use your result from (a) to show that if X and Y are independent binomial random variables with parameters (n1, p) and (n2, p), then their sum Z = X + Y is Binomial with parameters (n1 + n2, p).
Code Help, Add WeChat: cstutorcs
6.) Suppose that five balls are sampled with replacement from an urn that contains 10 red balls, 10 blue balls, 5 green balls and 5 yellow balls and let R, B, G and Y , respectively, denote the numbers of red, blue, green or yellow balls in the sample.
(a) Find the joint probability mass function of (R, B, G, Y ). (b) Find the probability mass functions of B and of R + G.
(c) Calculate E[G + Y − 2R].
7.) Let s ≥ 1 and suppose that X is a positive integer-valued random variable with distribution
k−s P(X=k)=ξ(s), k=1,2,3,···
ξ(s) ≡ 􏰃 n−s.
(a) Let p1, p2, · · · be an enumeration of the prime numbers and define Epi = {X ≡ 0 mod pi} to be the event that X is divisible by pi. Show that the events Ep1 , Ep2 , · · · are independent. (b) Use the result from (a) to prove that
= 􏰀1−p−s􏰁. i
8.) Suppose that X, Y and Z are discrete real-valued random variables.
(a) Show that E[X + Y |Z] = E[X|Z] + E[Y |Z].
(b) Calculate E[g(X)|X], where g : R → R is a real-valued function.
(c) Calculate E[X|Y ] assuming that X is independent of Y .
9.) Suppose that Z0, Z1, · · · is a sequence of independent, identically-distributed random vari- ables with distribution P(Zi = 1) = P(Zi = −1) = 1/2 and define the sequence X0, X1, · · · recursively by setting X0 = 0 and Xn+1 = Xn + Zn for each n ≥ 1. Calculate E[Xn+m|Xn] for n, m ≥ 0.
10.) Although the sex ratio at birth is close to 1 : 1 in human populations, biased sex ratios are found in many other species. This is true of many parasitoids, which lay their eggs on another host organism; when the eggs hatch, the young enter into the still living host and consume it from within, often taking care to avoid eating essential organs. In many of these species, mating occurs within the host organism between siblings.
Github
Suppose that a parasitoid always lays three eggs on its host and that each egg survives to re- productive maturity, independently of the others, with probability s. In addition, suppose that the sex of each surviving offspring is female with probability φ and male with probability 1 − φ and that sex is also independently determined for each offspring. Surviving females can only reproduce if there is at least one surviving male present within the host, which they exit after being inseminated.
(a) Find a formula in terms of s and φ for the expected number of inseminated females that emerge from each parasitized host.
(b) For each s, find the value of φ that maximizes this expected value. This is said to be the optimal sex ratio, φESS.
(c) Explain the relationship between the survival probability s and the optimal sex ratio.
CS Help, Email: tutorcs@163.com