7 Questions for Probability with Engineering Applications - Assignment 7 | ECE 313, Assignments of Statistics

Material Type: Assignment; Class: Probability with Engrg Applic; Subject: Electrical and Computer Engr; University: University of Illinois - Urbana-Champaign; Term: Fall 2002;

Typology: Assignments

Pre 2010

Uploaded on 02/24/2010

koofers-user-k6q
koofers-user-k6q 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 313 Problem Set # 7 Fall 2002
Assigned: 10/9/16 Due: Wednesday 10/16/02
More discrete random variables
Assigned reading: Review Ross, Chapter 4.
Noncredit exercises: Chapter 4, Problems 35-43, 47-59, 70, and Theoretical Exercises 16-18, 25, 26.
1. Maximum variance Bernoulli and binomial random variables
(a) Suppose Xis a Bernoulli random variable with parameter p. So 0 p1 and P[X= 1] = pand
P[X= 0] = 1 p. What value of pmaximizes the variance of X, and what is the maximum value of the
variance?
(b) Suppose Yis a binomial random variable with parameters nand p. What value of pmaximizes the
variance of Y(for nfixed), and what is the maximum value of the variance?
2. Poisson distribution potpourri
(a) Let Xbe the number of leaves that fall off a certain tree in a one-minute interval of a sunny, windless
autumn afternoon in Urbana-Champaign. Explain why Xcan be viewed as a binomial random variable with
a very large parameter nand a very small parameter p. What is n? What is p?
(b) Accordingly, it is reasonable to suppose that Xis a Poisson random variable with mean λfor some
λ > 0. Suppose that λis unknown, but it is decided that λwill be estimated by observing X. If X= 12 is
observed, find the maximum likelihood estimate ˆ
λML . This is the value of λthat maximizes P[X= 12], or
equivalently, maximizes ln P[X= 12].
(c) Express P[X= 2|X3] as a function of λ.
3. On the shape of the Poisson distribution
State and prove a version of Proposition 6.1 (Ross, Section 4.6.1) in case Xis a Poisson random variable
with parameter λ > 0, and kgoes from 0 to . (Hint: Very few changes are needed.)(Note: Working with
the ratios P[X=k]/P [X=k1] is useful for numerical computation of binomial and Poisson distributions.
See Sections 4.6.2 and 4.7.1.)
4. Poisson approximation and the birthday paradox
This problem is about the birthdays of the students in a class. For the sake of this problem, assume every
year has 365 days (i.e. ignore leap years). Assume that the 365 possible birthdays are equally likely for each
student, and that the birthdays of the different students are independent.
(a) Suppose the students reveal their birthdays one at a time. Given that the first kstudents have distinct
birthdays, what is the probability that the k+ 1st student has a birthday distinct from the first k?
(b) Find a fairly simple expression for the probability that the birthdays of the first kstudents are distinct.
Compute your answer for k= 10,20,and 30. (Hint: Use part (a). A calculator or simple computer program
is useful. Your answers may be smaller than you might have guessed ahead of time. That is the “birthday
paradox.” Like most paradoxes, this one can be explained by sharpened intuition. Such explanation is the
purpose of the remainder of this problem.)
(c) Consider the first kstudents. Let Eij denote the event that the birthdays of students iand jare the same,
for 1 i < j k. Find P[E12], P[E12E13 ], and P[E12E13E23 ]. Are the events Eij pairwise independent?
Are they independent? (Hint: just check the definitions. Show your work.)
(d) Again consider the first kstudents. Let Xdenote the number of the events Eij with 1 i < j kthat
are true. Note that P[X= 0] = P[all kbirthdays are distinct]. Intuitively, the events Eij are approximately
independent. There are N=k
2such events, so that Xhas approximately the binomial distribution with
parameters Nand p=1
365 . Since Nis reasonably large (if kis large enough) and pis small, the random
variable Xhas approximately the Poisson distribution with mean λ=N p. Using this observation, give a
simple approximation to P[X= 0] in terms of kand λ. Compare the numerical values to those found in
part (b) for k= 10,k= 20, and k= 30. (Note: your answers are so small because λis roughly prop ortional
to k2, not just proportional to k.)
pf2

Partial preview of the text

Download 7 Questions for Probability with Engineering Applications - Assignment 7 | ECE 313 and more Assignments Statistics in PDF only on Docsity!

ECE 313 Problem Set # 7 Fall 2002 Assigned: 10/9/16 Due: Wednesday 10/16/

More discrete random variables

Assigned reading: Review Ross, Chapter 4. Noncredit exercises: Chapter 4, Problems 35-43, 47-59, 70, and Theoretical Exercises 16-18, 25, 26.

  1. Maximum variance Bernoulli and binomial random variables (a) Suppose X is a Bernoulli random variable with parameter p. So 0 ≤ p ≤ 1 and P [X = 1] = p and P [X = 0] = 1 − p. What value of p maximizes the variance of X, and what is the maximum value of the variance? (b) Suppose Y is a binomial random variable with parameters n and p. What value of p maximizes the variance of Y (for n fixed), and what is the maximum value of the variance?
  2. Poisson distribution potpourri (a) Let X be the number of leaves that fall off a certain tree in a one-minute interval of a sunny, windless autumn afternoon in Urbana-Champaign. Explain why X can be viewed as a binomial random variable with a very large parameter n and a very small parameter p. What is n? What is p? (b) Accordingly, it is reasonable to suppose that X is a Poisson random variable with mean λ for some λ > 0. Suppose that λ is unknown, but it is decided that λ will be estimated by observing X. If X = 12 is observed, find the maximum likelihood estimate ˆλM L. This is the value of λ that maximizes P [X = 12], or equivalently, maximizes ln P [X = 12]. (c) Express P [X = 2|X ≤ 3] as a function of λ.
  3. On the shape of the Poisson distribution State and prove a version of Proposition 6.1 (Ross, Section 4.6.1) in case X is a Poisson random variable with parameter λ > 0, and k goes from 0 to ∞. (Hint: Very few changes are needed.)(Note: Working with the ratios P [X = k]/P [X = k − 1] is useful for numerical computation of binomial and Poisson distributions. See Sections 4.6.2 and 4.7.1.)
  4. Poisson approximation and the birthday paradox This problem is about the birthdays of the students in a class. For the sake of this problem, assume every year has 365 days (i.e. ignore leap years). Assume that the 365 possible birthdays are equally likely for each student, and that the birthdays of the different students are independent. (a) Suppose the students reveal their birthdays one at a time. Given that the first k students have distinct birthdays, what is the probability that the k + 1st^ student has a birthday distinct from the first k? (b) Find a fairly simple expression for the probability that the birthdays of the first k students are distinct. Compute your answer for k = 10, 20 , and 30. (Hint: Use part (a). A calculator or simple computer program is useful. Your answers may be smaller than you might have guessed ahead of time. That is the “birthday paradox.” Like most paradoxes, this one can be explained by sharpened intuition. Such explanation is the purpose of the remainder of this problem.) (c) Consider the first k students. Let Eij denote the event that the birthdays of students i and j are the same, for 1 ≤ i < j ≤ k. Find P [E 12 ], P [E 12 E 13 ], and P [E 12 E 13 E 23 ]. Are the events Eij pairwise independent? Are they independent? (Hint: just check the definitions. Show your work.) (d) Again consider the first k students. Let X denote the number of the events Eij with 1 ≤ i < j ≤ k that are true. Note that P [X = 0] = P [all k birthdays are distinct]. Intuitively, the events Eij are approximately independent. There are N =

(k 2

such events, so that X has approximately the binomial distribution with parameters N and p = 3651. Since N is reasonably large (if k is large enough) and p is small, the random variable X has approximately the Poisson distribution with mean λ = N p. Using this observation, give a simple approximation to P [X = 0] in terms of k and λ. Compare the numerical values to those found in part (b) for k = 10,k = 20, and k = 30. (Note: your answers are so small because λ is roughly proportional to k^2 , not just proportional to k.)

  1. Conditional lifetimes and the memoryless property of the geometric distribution (a) Let X represent the lifetime, rounded up to an integer number of years, of a certain car battery. Suppose that the pmf of X is given by p(k) = 0.2 if 3 ≤ k ≤ 7 and p(k) = 0 otherwise. Find the probability, P [X > 3], that a three year old battery is still working. Given that the battery is still working after five years, what is the conditional probability that the battery will still be working three years later? (i.e. what is P [X > 8 |X > 5]?) (b) A certain Illini basketball player shoots the ball repeatedly from half court during practice. Each time, she makes a basket with probability p. Let Y denote the number of shots required for her to make the first basket. Express the probability that she needs more than three attempts to make a basket, P [Y > 3], in terms of p. Given that she already missed the first five attempts, what is the conditional probability that she will need more than three additional attempts to make a basket? (i.e. what is P [Y > 8 |Y > 5])? (c) What type of probability distribution does Y have?
  2. Packet length choice for noisy channels Realistically, communication links such as wireless communication links aren’t totally predictable. Things such as latency and the fraction of bits that are correctly received vary with time, network load and other variables. A good approach to model such variability is to use probability theory. In the following we explore how the probability of byte error might affect the packet size you use for an application requiring reliable transfer of a large amount of data. Use the following assumptions. Suppose that each packet consists of h+n bytes, where a byte is eight bits, such as 00100011. The first h bytes of a packet comprise the header, and the remaining n bytes comprise the data bytes. The header contains information such as the destination address, a sequence number, some parity bytes, and so on. Suppose that the probability a byte is received in error is pe,Byte, and that the error events for different bytes are independent. Assume that a packet is successfully received if all n + k bytes are received correctly, and that a packet is detected to be in error otherwise. (Packets with errors have to be retransmitted.) (a) Express the probability a packet is successfully received, pS,packet, in terms of n, h and pe,Byte. (b) Let X denote the number of data bytes successfully received as the result of a single packet transmission. Possible values of X are 0 or n. The efficiency η is defined to be E[X] divided by n + h, which is the number of data bytes successfully received per byte transmitted. Find η as a function of n, h, and pe,Byte. (c) Why is η small if n is very small, and h is fixed? (d) Why is η small if n is very large, and h is fixed? (e) Assuming that h = 60 bytes and pe,Byte = 0.01 (a fairly noisy channel), find the value of the positive integer n to maximize η and find the resulting value of η.
  3. Cumulative distribution functions Let X be a random variable with the cumulative distribution function shown. Compute the following probabilities (a) P [X ≤ 1], (b) P [X > 1], (c) P [|X| ≤ 3], and (d) P [X 2 ≤ 9].

.

x

F(x)