Docsity

Final Exam Solutions - Probabilistic Methods in Electrical and Computer Engineering | ECE 30200, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
NAME:__________________________________
EE 302 Division 1 MWF 3:30-4:20 (Prof. Pollak)
Final Exam Solutions, 4/29/2002.
•This is a closed-book exam. A formula sheet is provided. No calculators are allowed.
•You have two hours to complete FOUR problems.
•Be sure to fully and clearly explain all your answers.
•There will not be any discussion of grades. All re-grade requests must be submitted in writing.
Problem Points Score
165
250
340
455
TOTAL 210
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Final Exam Solutions - Probabilistic Methods in Electrical and Computer Engineering | ECE 30200 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

NAME:__________________________________

EE 302 Division 1 MWF 3:30-4:20 (Prof. Pollak)

Final Exam Solutions, 4/29/2002.

  • This is a closed-book exam. A formula sheet is provided. No calculators are allowed.
  • You have two hours to complete FOUR problems.
  • Be sure to fully and clearly explain all your answers.
  • There will not be any discussion of grades. All re-grade requests must be submitted in writing.

Problem Points Score

1 65

TOTAL 210

Some random variables, their distributions, and associated transforms:

Random variable PMF or PDF Mean Variance Transform

Bernoulli p for k = 1; 1 − p for k = 0. p p(1 − p) 1 − p + pes

Discrete uniform (^1) n , k = k 0 + 1, k 0 + 2,... , k 0 + n k 0 + n+1 2 n (^2) − 1 12

es(e(k^0 +n)s−ek^0 s) n(es−1) Geometric (1 − p)k−^1 p, k = 1, 2 , 3 ,... (^1) p p^12 − (^1) p pe

s 1 −(1−p)es

Binomial

n

k

 (1^ −^ p)n−kpk,^ k^ = 0,^1 ,... , n^ pn^ np(1^ −^ p)^ (1^ −^ p^ +^ pes)n

Pascal of order k

t − 1

k − 1

 pk(1^ −^ p)t−k,^ t^ =^ k, k^ + 1,...^ kp k

1 p^2 −^

1 p

pes 1 −(1−p)es

)k

Poisson e−λ λ k k! ,^ k^ = 0,^1 ,^2 ,...^ λ^ λ^ e

λ(es−1)

Continuous uniform (^) b−^1 a , a ≤ x ≤ b b+ 2 a (b−a)

2 12

esb−esa (b−a)s Exponential λe−λx, x ≥ 0 λ−^1 λ−^2 λλ−s

Normal (Gaussian)

2 πσ

e−^

(x−μ)^2 2 σ^2 μ σ^2 e σ

(^2) s 2 2 +μs

Erlang of order k λ

k (^) yk− (^1) e−λy (k−1)! ,^ y^ ≥^0

k λ

k λ^2

λ λ−s

)k

where (^) ( n k

n! (n − k)!k!

h. Since X and Y are independent, the PMF of their sum is the convolution of pX and pY :

pW (w) =

∑^ ∞

k=−∞

pX (k)pY (w − k)

= pX (0)pY (w) + pX (1)pY (w − 1) + pX (2)pY (w − 2)

(pY (w) + pY (w − 1) + pY (w − 2))

1 303 ,^ w^ = 1 306 ,^ w^ = 2 309 ,^ w^ = 3 307 ,^ w^ = 4 304 ,^ w^ = 5 30 ,^ w^ = 6

Problem 2 (50 points). Consider the Markov chain below. For all parts of this problem, the process is in state 0 immediately before the first transition.

a (8 points). Find the variance for J, the number of transitions up to and including the transition on which the process leaves state 0.

b (8 points). Find the probability to go to state 3 for the first time on the 5-th transition.

c (10 points). Find the probability to be at state 3 after 5 transitions. (Note: this event includes getting to 3 before the 5-th transition.)

d (7 points). Find the probability to never get to state 1.

e (10 points). Find πi for i = 0, 1 , 2 , 3, the probability that the process is in state i after 10^10 transitions or explain why these probabilities cannot be found.

f (7 points). Given that the process never enters state 1, find the πi’s as defined in part (e) or explain why they cannot be found.

Fully and clearly explain all your answers.

Solution.

a. We start at zero and, during each transition we either stay at zero (with probability 1/2) or leave 0 (also with probability 1/2). Since the transitions are independent of each other, this is a Bernoulli process with parameter p = 1/2, and J is its first arrival time, which is geometric with parameter p = 1/2 and therefore has variance p−^2 − p−^1 = 4 − 2 = 2.

b. This is equivalent to staying at zero after each of the first four transitions, and then going to 3: (1/2)^4 · (1/4) = 1/64.

c. Now we can stay at zero after each of the first n transitions, and then go to 3, for n = 0, 1 , 2 , 3 , 4:

∑^4

n=

)n ·

2

d. The probability to stay at 0 forever is 0, and therefore we will eventually be absorbed into 1 or 3, with equal probabilities. Therefore, the probability to never get to 1 is the probability to get absorbed into 3, which is 1/2.

Problem 3 (40 points). The interarrival times for cars passing a checkpoint are independent random variables with PDF

fT (t) =

2 e−^2 t, t ≥ 0 0 , otherwise,

where the interarrival times are measured in minutes. The successive experimental values of the durations of interarrival times are automatically recorded on small cards. The recording operation occupies a negligible time period following each arrival. Each card has space for three entries. As soon as a card is filled, it is replaced by the next card.

a (5 points). Find the expected number of minutes between two consecutive car arrivals.

b (9 points). Given that no car has arrived in the last four minutes, determine the PMF for random variable K, the number of cars to arrive in the next six minutes.

c (9 points.) Find the PDF, the expected value, and the transform, for the total time required to use up the first dozen cards.

d (9 points.) We pick an arbitrary card and note the total time, Ti, the card was in service. Find E[Ti] and var(Ti).

e (8 points.) Given that the card presently in use contains exactly two entries and also that it has been in service for exactly 0.5 minutes, determine and sketch the PDF for the remaining time until the card is completed.

Fully and clearly explain all your answers.

Solution.

a. This is just the mean of an exponential random variable with parameter 2: (^1) λ = 12.

b. Since Poisson process is memoryless, the number of cars to arrive during any fixed six-minute interval is Poisson with parameter 6λ = 12, regardless of what happened in the past:

pK (k) = e−^12

12 k k! , k = 0, 1 , 2 ,...

c. Since each card corresponds to three arrivals, we are asked for the 36-th arrival time whose distri- bution is Erlang of order 36:

PDF =

236 t^35 e−^2 t 35!

, t ≥ 0

mean =

transform =

2 − s

d. Ti is a third-order interarrival time, and its PDF is therefore Erlang of order 3: E[Ti] = 32 , var(Ti) = 34.

e. Again, because of the memorylessness of the Poisson process, this is just a first-order interarrival time which is exponential with parameter 2. The formula is given above in the statement of the problem, and a sketch is below.

d. In the sketch of the support of the joint PDF, the intersection of the support with the event 2 X − 1 ≥ Y is shaded. It is clear from the picture that, for any given Y = y, the conditional probability of the event 2X − 1 ≥ y is 1/2 since the conditional density of X is uniform. Integrating with respect to y shows that the overall unconditional probability must also be 1/2. More formally,

P(2X − 1 ≥ Y ) =

0

∫ (^) y+

y+1 2 fX,Y (x, y)dxdy

0

y+ y+1 2

1 + y

dx

dy

0

dy =

Note that it is wrong to say that the answer is 1/2 simply because the shaded area is one-half of the area of the whole trapezoid: since the joint PDF is not uniform, probabilities cannot be obtained by dividing the areas. Those students who did this–despite the fact that their answer in part (c) was not a uniform density–got 0 points for this part.

e. To solve this part, it was not necessary to remember the formula for the linear least mean squares estimator. (However, we applaud the one student in the class who did!) Note that the least mean squares estimator, E[X|Y ] = 12 Y + 12 happens to be a linear function of Y in this case. Therefore, it must also be the linear least mean squares estimator. (Our applause also goes to the single student in the class who came up with this argument.)