

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Name: _________________________ Student ID No: ______________
UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences
Professor Tse Fall 1999
8 November 1999, 11:10–12:
Please explain your work carefully. Answers to questions involving Normal rv’s can lie left in terms of , the cdf of rv.
Some pmf’s and pdf’s:
Bern(p) :
Binomial(n,p) :
Geometric(p) : ,
PX ( 1 ) = p P , (^) X ( 0 ) = 1 – p E X [ ]= p , Var ( X ) = p ( 1 – p )
MX ( ) s = 1 – p + pe s
PX ( ) k n ⎝ ⎠ k = ⎛ ⎞^ p k ( 1 – p ) n^ –^ k , k =0 1, , … , n
E [ X ] = np , Var ( X ) = np ( 1 – p ) , M (^) X ( ) s =( 1 – p + pe s ) n
PX ( ) k = p ( 1 – p ) k^ –^1 , k = 1 2, ,…
E [ X ] (^1) p --- Var, ( X )^1 – p p^2
------------ , M (^) X ( ) s pe^
s 1 – ( 1 – p ) e s
Poisson ( λ) PX ( ) k e –^ λλ
k = ---- k !- , k =0 1, ,…
E [ X ] = λ , Var ( X ) = λ , M (^) X ( ) s = e λ^ (^ e^ s^ –^1 )
Normal ( μ σ,^2 ) fX ( ) x 1 2 n σ
2 σ^2
2 = exp
E [ X ] μ , Var ( X ) σ^2 , M (^) X ( ) s σ
(^2) s 2 = = = exp ----------- 2 +μ s
Exponential ( λ) fX ( ) x = λ e – λ^ x , x ≥ 0
E [ X ] (^1) λ --- Var, ( X )^1 λ^2
= = ------ , M (^) X ( ) s = λ---------- λ– s - ( s >λ)
[25 pts.] 1. and are two independent rv’s, uniformly distributed in [0,1]. Let , . a) Find the pdf’s of and. (10 pts.)
b) Find. (5 pts.)
c) Let. Find the cdf of. (10 pts.)
[15 pts.] 2. You have available a rv with pdf Exponential. Explain how you can use to generate:
a) a rv with pdf Exponential. (7 pts.) b) a rv uniformly distributed in [0,1]. (8 pts.)
[30 pts.] 3. The traffic of users are multiplexed at a switch with outgoing link rate of bits/s. At time 0, the incoming traffic rate of the i th^ user is a rv. Data is lost if the aggregate incoming traffic rate exceeds the outgoing rate.
a) Suppose we model the ’s as iid.. Find the largest number of users we can accommo- date such that the probability of data lost is less than. (10 pts.) b) Now suppose the behavior of different users is dependent. We model this by having
, where are iid. rv’s. Find the mean and variance of.
Find the covariance between and. (10 pts.)
c) Find the maximum number of users that can be accommodated in a link of rate , such that the probability of data loss is less than. How does this number compare to the answer to (a)? Give some intuition to support your answer. (10 pts.)
[30 pts.] 4. Packets arriving at a switch are routed to either destination A (with probability ) or destination B (with probability ). The destination of each packet is chosen independently of each other. In time interval [0,1], the number of arriving packets is. a) Find the expected number of packets routed to A in time interval [0,1]. (5 pts.) b) Show that the number of packets routed to A is Poisson distributed. With what parameter? (Hint: Express the number as a sum of random number of rv’s.) (10 pts.) c) Find the joint pmf of the number of packets routed to A and the number of packets routed to B. (Hint: You may want to first condition on an appropriate event.) (10 pts.) d) Are the number of packets routed to A and to B independent, conditional on the total number of arriving packets being? Are the number of packets routed to A and to B independent? (5 pts.)
X Y V = max ( X Y , ) W = min ( X Y , ) V W
E V V >^12 ---
X ( λ) X ( μ)
n c X (^) i c
X (^) i N ( μ σ,^2 ) 10 –^3
X (^) i = Z + Y (^) i Z Y , 1 , Y 2 , … Y (^) n N μ 2 --- σ
2 ⎝ ,----- 2 - ⎠
⎛ ⎞ (^) X (^) i
X (^) i X (^) j
c 10 –^3
p 1 – p Poisson ( λ)
n