Docsity

Midterm Exam 302: Probability and Random Processes - Prof. Chih-Chun Wang, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 302, Midterm #2
7:00-8:00pm Tue. Mar 28, PHYS 114,
1. Enter your name, student ID number, e-mail address, and signature in the space
provided on this page, NOW!
2. This is a closed book exam.
3. This exam contains 6 questions and is worth 100 points + 15 bonus points. You
have one hour to complete it. So basically, you only need to answer ≈5 questions
correctly to get full grade. I will suggest not spending too much time on a single
question, and work on those you know how to solve.
4. The sub-questions of a given question are listed from the easiest to the hardest.
The best strategy may be to finish only the sub-questions you know exactly how to
solve.
5. There are a total of 13 pages in the exam booklet. Use the back of each page for
rough work.
6. Neither calculators nor help sheets are allowed.
7. Important! There is no question identical to the exercises, and therefore trying
to duplicate those solutions from your memory will be given zero credit.
8. Read through all of the problems first, and consult with the TA during the first
15 minutes. After that, no questions should be asked unless under special circum-
stances, which is at TA’s discretion. You can also get a feel for how long each
question might take after browsing through the entire question set. Good luck!
Name:
Student ID:
E-mail:
Signature:
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Midterm Exam 302: Probability and Random Processes - Prof. Chih-Chun Wang and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE 302, Midterm # 7:00-8:00pm Tue. Mar 28, PHYS 114,

  1. Enter your name, student ID number, e-mail address, and signature in the space provided on this page, NOW!
  2. This is a closed book exam.
  3. This exam contains 6 questions and is worth 100 points + 15 bonus points. You have one hour to complete it. So basically, you only need to answer ≈5 questions correctly to get full grade. I will suggest not spending too much time on a single question, and work on those you know how to solve.
  4. The sub-questions of a given question are listed from the easiest to the hardest. The best strategy may be to finish only the sub-questions you know exactly how to solve.
  5. There are a total of 13 pages in the exam booklet. Use the back of each page for rough work.
  6. Neither calculators nor help sheets are allowed.

7. Important! There is no question identical to the exercises, and therefore trying

to duplicate those solutions from your memory will be given zero credit.

  1. Read through all of the problems first, and consult with the TA during the first 15 minutes. After that, no questions should be asked unless under special circum- stances, which is at TA’s discretion. You can also get a feel for how long each question might take after browsing through the entire question set. Good luck!

Name:

Student ID:

E-mail:

Signature:

Question 1: (20%) The probability assignment of a two dimensional random variable (X, Y ) is as follows. P (X = x, Y = y) Y = − 1 Y = 0 X = 1 0.2 0. X = 0 0.1 0.

  1. (5%) Find out the marginal pmfs P (X = 0), P (X = 1), P (Y = −1), and P (Y = 0).
  2. (2%) Are X and Y independent? Use one sentence to justify your choice.
  3. (5%) Let Z = XY. Find the probability mass function of Z. Hint: Find out the sample space of Z first.
  4. (2%) Find the conditional probability that P (X = 1|Z = 0).
  5. (1%) Are X and Z independent? Use the result from the previous sub-question to justify your choice. One sentence is sufficient.
  6. (5%) Find the correlation between X and Z, namely, find E(XZ). Are X and Z orthogonal?

Question 2: (30%) X 1 is Bernoulli distributed with parameter p, and so are X 2 , X 3 , · · · , Xn. Furthermore, all X 1 , · · · , Xn are independent.

  1. (5%) Find the mean E(X 1 ), variance Var(X 1 ), and the second moment E(X 12 ) of X 1.
  2. (7%) Let Z =

∑n i=1 Xi.^ Find the mean^ E(Z), variance^ Var(Z), and the second moment E(Z^2 ) of Z. Hint: you can do it by either one of the following two methods. First, by the properties of sum of random variables. Or second, using the fact that Z is a binomial distribution with parameters (n, p), and the pmf of a binomial distribution is P(Z = k) =

(n k

) pk(1 − p)n−k.

  1. (4%) Find the characteristic function ΦX 1 (ω) of X 1 , which is the same as ΦX 2 (ω), ΦX 3 (ω), etc. Use that result to find the characteristic function ΦZ (ω) of Z.
  2. (7%) Use the moment theorem to verify your answer of E(Z) computed in the second sub-question.
  3. (7%) Let Y = aZ + b, where a and b are constants. Find the characteristic function ΦY (ω) of Y in terms of the characteristic function of ΦZ (ω).

Question 4: (25%) Consider an additive Gaussian noise channel Y = X + N , in which the input X is Gaussian distributed with mean 0 and variance a^2 , and N is a standard Gaussian with mean 0 and variance 1. X and N are independent.

  1. (2%) Whether is Y a Gaussian random variable? Make your yes-no choice and justify it by one sentence.
  2. (5%) Find E(Y ) and Var(Y ), and then write down the marginal pdf of Y , fY (y), using the previous result.
  3. (8%) Find the covariance Cov(X, Y ) and the correlation coefficient ρ between X and Y.
  4. (5%) Find the coefficients a∗^ and b∗^ of the minimum mean square error “linear” estimator for X, fM M SE,lin(Y ) = a∗Y + b∗.
  5. (5%) Find out the mean square error achieved by fM M SE,lin(Y ). Namely, evaluate E ((X − fM M SE,lin(Y ))^2 ).

Question 5: (15%) The number of customers that arrive at a convenience store during a time t (unit: minute) is a Poisson random variable with parameter αt. A person is flipping a fair coin every minute, and use T (min) to denote the waiting time before the first head faces up. Let N denote the number of customers arrive during the waiting time T. Assume that the customer arrivals are independent to the coin flipping.

  1. (6%) Find E(N ) the expected number of customers arrive during the waiting time.
  2. (9%) Find the variance Var(N ).

Hint 1: Use the following formula. Suppose X is a Poisson random variable with param- eter λ, and Y is a geometric random variable with parameter p. Then

E(X) = λ Var(X) = λ

E(Y ) =

1 − p p

Var(Y ) =

1 − p p^2

Hint 2: Use the equality that E(X) = E(E(X|Y )).