

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to problem set #3 in the ece 413: probability theory course, focusing on the law of the unconscious statistician (lotus) and the poisson distribution. Topics covered include the function being nonnegative, possible values of y, calculation of mean and variance, and exponential moments.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


ECE 413 Solutions to Problem Set #3 Spring 2007
pY (u) =
{ (^2) un(n+1) (or, equivalently,^
2 k n(n+1) )^ if^ u^ = 1/k^ for some^ k^ with 1^ ≤^ k^ ≤^ n 0 else The pmf of Y for the case n = 3 is:
0
1/
2/
3/
u
pY (u)
1/3 1/2 1
(c) By definition, E[Y ] =
∑ u upY^ (u).^ There are^ n^ nonzero terms in this sum. which each have the form u· (^) un(n^2 +1) = (^) n(n^2 +1). Thus, all n terms are (^) n(n^2 +1) , so we have E[Y ] = n· (^) n(n^2 +1) = (^) n+1^2. (d) Using LOTUS we get, more directly, E[Y ] =
∑ k g(k)pX (k) =^
∑n k=
1 k
2 k n(n+1) =^
2 n n(n+1) = 2 n+.
∑∞ i=
e−λλi i! =^ e
−λ ∑∞ i=
λi i! =^ e
−λeλ (^) = 1. (b) Since, by convention, 0! = 1 and λ^0 = 1, we find P (X = 0) = e
−λλ 0 0! =^ e
−λ.
(c) E[X] =
∑∞ i=0 i e−λλi i!. The^ ith term is zero for^ i^ = 0, so the index^ i^ can be taken to run from i = 1 to ∞. For i ≥ 1, (^) ii! = (^) (i−^1 1)!.. Therefore, the sum becomes E[X] =
∑∞ i= e−λλi (i−1)|. Letting j = i − 1, and using the fact λi^ = λλi−^1 = λλj^ , the sum can be written as E[X] =
λ
∑∞ j=
e−λλj j| =^ λ,^ where for the last equality we used the fact, verified in part (a), that the total mass is one. (d) Using the LOTUS, we find E[X(X − 1)] = ∑∞ i=0 i(i^ −^ 1) e−λλi i|. The^ ith term is zero for i = 0 and i = 1, so those terms can be left out of the summation. For i ≥ 2, i(i− i! 1)= (^) (i−^1 2)!. Therefore, the sum becomes E[X(X − 1)] =
∑∞ i=
e−λλi (i−2)! Letting^ k^ =^ i^ −^ 2, and using the fact λi^ = λ^2 λk, the sum can be written as E[X(X − 1)] = λ^2
∑∞ k=
e−λλk k! =^ λ
(^2) , where for the last equality we used the fact, verified in part (a), that the total mass is one. (e) The facts E[X] = λ and E[X^2 ] − E[X] = λ^2 , yield that E[X^2 ] = λ^2 + λ. Therefore, Var(X) = E[X^2 ] − E[X]^2 = (λ^2 + λ) − λ^2 = λ. That is, both the mean and variance of X are λ. (f) E[zX^ ] =
∑∞ i=0 z i e−λλi i| =^ e
−λ ∑∞ i=
(λz)i i! =^ e
−λeλz (^) = e−λ(1−z).
(^2) )me−b^2 m!. This is the same as maximizing^ f^ (b
with respect to b, where f is the same as in part (a) with n replaced by m. We know from part (a), that if b is selected so that b^2 = m, then f (b^2 ) is the largest that it can be. Thus ̂ b = √m is the maximum likelihood estimate of b. (Note, if negative values of b were allowed,
−
m would also be a maximum likelihood estimate.)
(n k
) pk(1 − p)n−k, for 0 ≤ k ≤ n. (b) Given that X = k (for example, k = 8 in the problem statement), we seek the value ̂n of n that maximizes an =
(n k
) pk(1 − p)n−k. Examine the ratio
rn =
an an− 1
n(1 − p) n − k
for n ≥ k + 1. The ratio rn is strictly decreasing in n. We can select n̂ to be the largest n such that rn ≥ 1, or equivalently, the largest n such that n ≤ kp , yielding n̂ = bkp c. If kp is an integer, then rkp = 1, so in that case there are two values of n that maximize the likelihood: k p −^ 1 or^
k p. Thus, ̂ n =
{ bkp c if kp is not an integer k p or^
k p −^1 if^
k p is an integer For the particular problem, either n̂ = 31 or ̂n = 32 is a maximum likelihood estimate of n. (Note: If kp is an integer, the estimator bkp c is equal to kp. Another maximum likelihood estimator is dkp − 1 e, which is equal to kp − 1 if kp is an integer. The two estimators are equal if kp is not an integer.)