Docsity

Sample Midterm Exam 2 - Probabilistic Methods in Computer Engineering | ECE 30200, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 302, Midterm #2
6:30-7:30pm Thursday, March 5, 2009, EE 170,
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 only work-out questions. You have one hour to complete it.
The students are suggested not spending too much time on a single question, and
working on those that you know how to solve.
4. There are 12 pages in the exam booklet. Use the back of each page for rough work.
5. Neither calculators nor help sheets are allowed.
6. You can rip off the table in the back of the exam booklet.
Name:
Student ID:
E-mail:
Signature:
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

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

ECE 302, Midterm # 6:30-7:30pm Thursday, March 5, 2009, EE 170,

  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 only work-out questions. You have one hour to complete it. The students are suggested not spending too much time on a single question, and working on those that you know how to solve.
  4. There are 12 pages in the exam booklet. Use the back of each page for rough work.
  5. Neither calculators nor help sheets are allowed.
  6. You can rip off the table in the back of the exam booklet.

Name:

Student ID:

E-mail:

Signature:

Question 1: [30%]

  1. [6%] X is an exponential random variable with λ = 2. Find E((X − 0 .5)^2 ). Hint: Find out E(X) first.
  2. [7%] X is a binomial random variable with n = 100, p = 0.1. Find P (X = 0|X < 2).
  3. [8%] X is a Poisson random variable with α = 1. f (x) is a function such that

f (x) =

3 if − 0. 1 < x ≤ 1. 5 − 2 if 1. 5 < x ≤ 1. 9 0 otherwise

Find E(f (X)^2 ).

  1. [9%] X is a geometric random variable with p = 4/5. Find E(2X^ − X).

Question 2: [18%] Let X be a Bernoulli random variable with p = 1/3. Let Y be a binomial random variable with n = 2 and p = 1/4. Suppose X and Y are independent. Answer the following questions:

  1. [3%] What is the sample space when considering jointly (X, Y )? What is the corre- sponding weight assignment?
  2. [10%] Let Z = X^3 Y. Find and plot the cdf FZ (z).
  3. [5%] Find and plot the generalized pdf fZ (z). If you do not know the answer to the previous question, you can assume FZ (z) being as follows.

FZ (z) =

0 if z < 0 0 .25 sin(z) if 0 ≤ z < π 2 z π if^

π 2 ≤^ z < π 1 if π ≤ z

Question 4: [22%] Consider a random variable X such that S = (1, ∞), i.e., X can be any larger-than-one real numbers (say 1.1, π, etc.) but X cannot be smaller than one. We also know that the probability density of X is fX (x) = ce−^2 x^ for x > 1 where c is a constant.

  1. [3%] Find the c value.
  2. [10%] Find the characteristic function ΦX (ω).
  3. [9%] Use the moment theorem to find the mean ([6%]) and the variance ([3%]) of X. (If you do not know the answer of the previous question, you may assume ΦX (ω) = ejω−^1 (1 + (^1) −^1 jω ).) Hint: Computer the variance takes a lot of time. Make sure you compute the mean first and then go to other questions. When you really have time, you can come back and solve the variance.

ECE 302, Summary of Random Variables

Discrete Random Variables

  • Bernoulli Random Variable

S = { 0 , 1 } p 0 = 1 − p, p 1 = p, 0 ≤ p ≤ 1. E(X) = p, Var(X) = p(1 − p), ΦX (ω) = (1 − p + pejω), GX (z) = (1 − p + pz).

  • Binomial Random Variable

S = { 0 , 1 , · · · , n} pk =

(n k

pk(1 − p)n−k, k = 0, 1 , · · · , n. E(X) = np, Var(X) = np(1 − p), ΦX (ω) = (1 − p + pejω)n, GX (z) = (1 − p + pz)n.

  • Geometric Random Variable

S = { 0 , 1 , 2 , · · · } pk = p(1 − p)k, k = 0, 1 , · · ·. E(X) = (1− p p), Var(X) = 1 −p 2 p , ΦX (ω) = (^1) −(1−pp)ejω , GX (z) = (^1) −(1p−p)z.

  • Poisson Random Variable

S = { 0 , 1 , 2 , · · · } pk = α

k k! e

−α, k = 0, 1 , · · ·.

E(X) = α, Var(X) = α, ΦX (ω) = eα(e jω (^) −1) , GX (z) = eα(z−1).