ECE302 Spring 2006 Practice Final Exam Solution May 4, Name: Score: /100

Similar documents
ELEG 3143 Probability & Stochastic Process Ch. 6 Stochastic Process

Random Processes Handout IV

Random Processes Why we Care

Probability Models in Electrical and Computer Engineering Mathematical models as tools in analysis and design Deterministic models Probability models

Chapter 6: Random Processes 1

ECE 650 Lecture #10 (was Part 1 & 2) D. van Alphen. D. van Alphen 1

FINAL EXAM: 3:30-5:30pm

ELEMENTS OF PROBABILITY THEORY

Name of the Student: Problems on Discrete & Continuous R.Vs

Name of the Student: Problems on Discrete & Continuous R.Vs

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 60 minutes.

Comprehensive Examination Quantitative Methods Spring, 2018

STOCHASTIC PROBABILITY THEORY PROCESSES. Universities Press. Y Mallikarjuna Reddy EDITION

Stochastic Processes: I. consider bowl of worms model for oscilloscope experiment:

P 1.5 X 4.5 / X 2 and (iii) The smallest value of n for

Stochastic Processes. M. Sami Fadali Professor of Electrical Engineering University of Nevada, Reno

ECE353: Probability and Random Processes. Lecture 18 - Stochastic Processes

Random Processes. DS GA 1002 Probability and Statistics for Data Science.

ECE 302, Final 3:20-5:20pm Mon. May 1, WTHR 160 or WTHR 172.

Atmospheric Flight Dynamics Example Exam 2 Solutions

Stochastic Processes

Bell-shaped curves, variance

Probability and Statistics

ECE 450 Homework #3. 1. Given the joint density function f XY (x,y) = 0.5 1<x<2, 2<y< <x<4, 2<y<3 0 else

ECE 541 Stochastic Signals and Systems Problem Set 11 Solution

DO NOT OPEN THIS QUESTION BOOKLET UNTIL YOU ARE TOLD TO DO SO

Probability and Statistics for Final Year Engineering Students

IE 336 Seat # Name (one point) < KEY > Closed book. Two pages of hand-written notes, front and back. No calculator. 60 minutes.

Statistics 224 Solution key to EXAM 2 FALL 2007 Friday 11/2/07 Professor Michael Iltis (Lecture 2)

Chapter 2 Random Processes

ECE 302 Division 2 Exam 2 Solutions, 11/4/2009.

ECE 313: Conflict Final Exam Tuesday, May 13, 2014, 7:00 p.m. 10:00 p.m. Room 241 Everitt Lab

UCSD ECE250 Handout #27 Prof. Young-Han Kim Friday, June 8, Practice Final Examination (Winter 2017)

Topic 4 Unit Roots. Gerald P. Dwyer. February Clemson University

DO NOT OPEN THIS QUESTION BOOKLET UNTIL YOU ARE TOLD TO DO SO

Statistics & Data Sciences: First Year Prelim Exam May 2018

Massachusetts Institute of Technology

ECE Homework Set 3

QUALIFYING EXAM IN SYSTEMS ENGINEERING

Chapter 6. Random Processes

Communications and Signal Processing Spring 2017 MSE Exam

Stationary independent increments. 1. Random changes of the form X t+h X t fixed h > 0 are called increments of the process.

for valid PSD. PART B (Answer all five units, 5 X 10 = 50 Marks) UNIT I

14 - Gaussian Stochastic Processes

Name of the Student: Problems on Discrete & Continuous R.Vs

= 4. e t/a dt (2) = 4ae t/a. = 4a a = 1 4. (4) + a 2 e +j2πft 2

University of Illinois ECE 313: Final Exam Fall 2014

Problems on Discrete & Continuous R.Vs

Stochastic Processes. Theory for Applications. Robert G. Gallager CAMBRIDGE UNIVERSITY PRESS

SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY UNIT 3 RANDOM PROCESS TWO MARK QUESTIONS

Midterm Exam 2 (Solutions)

Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators.

Exam 3. Math Spring 2015 April 8, 2015 Name: } {{ } (from xkcd) Read all of the following information before starting the exam:

PROBABILITY AND STOCHASTIC PROCESSES A Friendly Introduction for Electrical and Computer Engineers

Avd. Matematisk statistik

Statistical signal processing

ECE Lecture #10 Overview

ECE302 Spring 2015 HW10 Solutions May 3,

EE/CpE 345. Modeling and Simulation. Fall Class 9

Review. December 4 th, Review

Chapter 5 Random Variables and Processes

CSE 312 Final Review: Section AA

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran November 13, 2014.

IE 230 Seat # (1 point) Name (clearly) < KEY > Closed book and notes. No calculators. Designed for 60 minutes, but time is essentially unlimited.

Communication Theory II

Deterministic. Deterministic data are those can be described by an explicit mathematical relationship

Eleventh Problem Assignment

Fundamentals of Applied Probability and Random Processes

Stochastic Processes. A stochastic process is a function of two variables:

(Practice Version) Midterm Exam 2

Closed book and notes. 120 minutes. Cover page, five pages of exam. No calculators.

18.05 Practice Final Exam

Fundamentals of Noise

Design of IP networks with Quality of Service

MA 320 Introductory Probability, Section 1 Spring 2017 Final Exam Practice May. 1, Exam Scores. Question Score Total. Name:

Lecture 5: Likelihood ratio tests, Neyman-Pearson detectors, ROC curves, and sufficient statistics. 1 Executive summary

Probability Models. 4. What is the definition of the expectation of a discrete random variable?

2. What are the tradeoffs among different measures of error (e.g. probability of false alarm, probability of miss, etc.)?

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).

The Multivariate Gaussian Distribution [DRAFT]

where r n = dn+1 x(t)

Signals and Spectra - Review

Solutions to Odd-Numbered End-of-Chapter Exercises: Chapter 14

Random Process. Random Process. Random Process. Introduction to Random Processes

Math 151. Rumbos Fall Solutions to Review Problems for Final Exam

Distribution-Free Procedures (Devore Chapter Fifteen)

A SIGNAL THEORETIC INTRODUCTION TO RANDOM PROCESSES

IEOR 6711: Stochastic Models I SOLUTIONS to the First Midterm Exam, October 7, 2008

STA 6857 Autocorrelation and Cross-Correlation & Stationary Time Series ( 1.4, 1.5)

2. Variance and Covariance: We will now derive some classic properties of variance and covariance. Assume real-valued random variables X and Y.

Mark Scheme (Results) June 2008

E&CE 358, Winter 2016: Solution #2. Prof. X. Shen

Sequential Procedure for Testing Hypothesis about Mean of Latent Gaussian Process

Atmospheric Flight Dynamics Example Exam 1 Solutions

Math 106: Calculus I, Spring 2018: Midterm Exam II Monday, April Give your name, TA and section number:

Midterm Exam 1 (Solutions)

[y i α βx i ] 2 (2) Q = i=1

MAT 271E Probability and Statistics

16.584: Random (Stochastic) Processes

The Cooper Union Department of Electrical Engineering ECE111 Signal Processing & Systems Analysis Final May 4, 2012

Transcription:

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 1 Name: Score: /100 You must show ALL of your work for full credit. This exam is open-book. Calculators may NOT be used. 1. As a function of time, the number of emails arriving at a the WINLAB mail server is N(t), a Poisson stochastic process. In any 20 second interval, the expected number of arrivals is 2. (a) What is the arrival rate, λ, of the process? By Definition 10.9 we know that the expected number of arrivals of a Poisson random process in an interval t is λ t, so for the given process we must have λ = 2/ t = 2/20 = 1/10 per second. (b) Observe the process for 10 seconds. The number of emails arriving in 10 seconds is a random variable, M. What is the PMF of M? By definition of a Poisson random variable we have, as in (10.16) and substituting our value of part (a) for λ, the following distribution { e 1 m = 0, 1, 2,... P M (m) = m! (1) 0 otherwise (c) What is the probability of observing more than one query in the first 20 seconds? For a twenty second interval we have the distribution P M (m) = { 2 m e 2 m! m = 0, 1, 2,... 0 otherwise (2) The probability of observing more than one query in the first 20 seconds is then P[M > 1]1 P M (0) P M (1) = 1 e 2 2e 2 = 1 3e 2 (3)

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 2 2. The duration of a phone call is an exponential random variable with expected value 3 minutes. All phone calls have independent durations. In a one-week period someone makes 16 calls. The total calling time is a random variable T (in minutes). Actually, this question is from Chapter 6, so should not have been on the practice exam. (a) What is the expected duration µ T of all calls combined? Define random X to be the duration of a phone call. We are given that E[X] = 3. Then T = 16X so µ T = E[16X] = 16E[X] = 16(3) = 48. (b) What is the variance of the duration of all calls combined? The calls being independent, the variance of the sum is the sum of the variances (by Theorem 6.3) so Var [T] = 16Var [X]. For an exponential random variable, Var [X] = 1/λ 2 where λ = 1/E[X] so we have that Var [T] = 16(1/9). (c) Use the central limit theorem to estimate the probability that the duration of all calls combined will be more than one hour. The probability that T > 60 is approximately 1 Φ ( ) 60 48 4/3. (d) Use the central limit theorem to estimate the probability that the duration of all calls combined will be between 39 and 51 minutes. The probability that 39 < T < 51 is approximately Φ ( ) ( ) 51 48 4/3 Φ 39 48 4/3.

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 3 3. If, for the random variable Y with expected value µ Y = 4, Chebyshev s inequality states that P[ 10 < Y < 2] 0.5, what is the variance of Y? We want to apply Chebyshev s inequality that says that P[ Y µ Y c] Var[Y ] c 2. (4) We have P[ 10 < Y < 2] 0.5. We start by adding µ Y to every part of the inequality to get P[ 10 ( 4) < Y µ Y < 2 ( 4)] 0.5. We see that we can rewrite this as P[ Y µ Y < 6] 0.5. This still doesn t quite match the form of Chebyshev s inequality so we note that P[ Y µ Y < 6] = 1 P[ Y µ Y 6]. We substitute this into the original inequality to obtain 1 P[ Y µ Y 6] 0.5 (5) We then add P[ Y µ Y 6] to both sides and subtract 0.5 from both sides of the inequality to obtain P[ Y µ Y 6] 0.5 = Var[Y ] 36 which, solving for Var [Y ], yields Var [Y ] = 18. (6)

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 4 4. V is a Gaussian random variable with µ V = 0, and Var [V ] = 64. (a) For the sample mean of 100 independent samples of V, what is the largest value of c that satisfies the inequality P[ M 100 (V ) c] 0.05? This one requires a lot less work because we are starting with something closer to the form of Chebyshev s inequality. We note that by Theorem 7.1, E[M 100 (V )] = E[V ] and Var [M 100 (V )] = Var [V ]/100. Substituting, we obtain 0.05 = 64/(100c 2 ), which we can solve for c to obtain c = 8/ 5. (b) For the sample mean of n independent samples of V, what is the smallest value of n that satisfies the inequality P[M n (V ) < 1] 0.9? Here, we have to notice that there are no absolute value in the inequality. We then use the symmetry of the Gaussian distribution to reason as follows. P[M n (V ) < 1] = 1 1 2 P[ M n(v ) 1] (7) where we are using also that µ MnV = 0 as above. We now have or 0.9 P[M n (V ) < 1] = 1 1 2 P[ M n(v ) 1] (8) P[ M n (V ) 1] 2(1 0.9) = 0.2 (9) We know that the left hand side of the inequality is bounded above by (V [V ]/n)/c 2 where c = 1 so the inequality will be true if Var [V ] n(1 2 ) 0.2 (10) so we need n 0.2/64, where the notation on the right hand side means the smallest integer greater than 0.2/64.

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 5 5. The duration of an ordinary (voice) phone call is an exponential random variable with expected value 3 minutes. The duration of an Internet (modem) call is an exponential random variable with expected value 15 minutes. Based on the random variable, T, the duration of one phone call, perform a test to decide whether the call is a voice call (H 0 ) or a modem call. (H 1 ). The probability of a voice call is 0.6. (a) If the acceptance region for H 0 is A 0 = {T < 10 minutes}, what is the probability of a false alarm? A false alarm corresponds to rejecting the null hypothesis H 0 when it is, in fact true. We are given that the acceptance region A 0 in the problem statement. With this acceptance region, we would reject the null hypothesis if the value of T greater than or equal to 10, i.e. if the call lasts at least 10 minutes, and would say the call was a modem call. Thus we must calculate the probability that a voice call lasts at least 10 minutes, using the fact that for an exponential random variable, E[T] = 1/λ. Our answer is thus P[reject H 0 H 0 true] = 1 10 0 1 3 e t/3 dt = e 10/3. (11) (b) If the acceptance region for H 0 is A 0 = {T < 10minutes}, what is the probability of a missed detection? A missed detection corresponds to accepting H 0 when, in fact, H 1 is true. We accept H 0 if the call lasts less than 10 minutes so the probability of missed detection is the probability that a modem call lasts less than 10 minutes, which is P[accept H 0 H 1 true] = 10 0 1 15 e t/15 dt = 1 e 10/15. (12) (c) If the acceptance region for H 0 is A 0 = {T < 10minutes}, what is the probability of an error? The probability of error, (which is given by (8.7), is the probability of Type I error, which we calculated in (a), times the probability that the call is a voice call (P[H 0 ]) plus the probability of Type II error, which we calculated in part (b), times the probability that the call is a modem call. Thus P ERR = 0.6e 10/3 + 0.4(1 e 2/3 ) (13) (d) If the acceptance region for H 0 is A 0 = {T < t minutes}, P MISS = 0.2. What is t? We solve P MISS = P[A 0 H 1 ] = P[T < t call is from a modem] = 0.2 (14)

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 6 for t in the following steps. Rearranging yields 0.2 = t 0 1 15 e t/15 dt = 1 e t /15 (15) e t /15 = 1 0.2 = 0.8 (16) and taking the natural log of both sides yields t /15 = ln 0.8 (17) or t = 15 ln 0.8 (18)

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 7 6. Random variable W is the sum of a signal V and noise N. V and N are independent. V has a uniform PDF with limits -1 and +1. N has a uniform PDF with limits -0.5 and +0.5. What is the covariance of W and V? Since the authors wrote W instead of W(t), we assume that W, V, and N are random variables rather than stochastic processes. Notice that both µ V and µ N and hence also µ W are zero. In this case, by Definition 4.4, we have Cov [W, V ] = E[(W µ W )(V µ V )] (19) = E[(V + N)V ] (20) = E[V 2 + NV ] (21) = E[V 2 ] + E[NV ] (22) = (1 ( 1)) 2 /12 + (1 + ( 1))/2 + E[NV ] (23) = 1/3 + E[N]E[V ] (24) = 1/3. (25) To obtain the second line from the first we noted that the means are zero and substituted for W. To obtain the fourth from the third we noted that the expectation of a sum is the sum of the expectations. To obtain the fifth from the fourth we used the expressions for the variance and expected value of a uniform random variable (see Appendix A). To obtain the sixth from the fifth we used that the signal and noise are independent. To obtain the seventh from the sixth we used again that the means of the signal and noise are both zero.

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 8 7. Stochastic process W(t) is the sum of a signal process V (t) and noise process N(t). V (t) and N(t) are independent. V (t) is Gaussian with mean µ V (t). N is Gaussian with mean µ N (t). (a) What are the autocovariances and autocorrelations of V (t) and W(t)? First let s look at V (t). The autocovariance is, by Definition 10.12, C V (t, τ) = Cov [V (t), V (t + τ)]. The autocorrelation is, by Definition 10.13, R V (t, τ) = E[V (t)v (t + τ)]. Not having any additional information about V (t), that is all we can say. Now let s look at W(t). The autocovariance is C W (t, τ) = Cov [W(t), W(t + τ)] = Cov [V (t) + N(t), V (t + τ) + N(t + τ)]. Again using Definitionn 4.4, we can rewrite this as C W (t, τ) = E[(V (t)+n(t) µ V (t) µ N (t))(v (t+τ)+n(t+τ) µ V (t+τ) µ N (t+τ))] (26) We could rewrite this as a sum of terms, two of which would be R V (t, τ) and R N (t, τ), using the independence of the signal and noise processes. The result would be, after some algebra, C W (t, τ) = R V (t, τ) + R N (t, τ) µ V (t)µ V (t + τ) µ N (t) + µ N (t + τ) (27) (b) Under what conditions is W(t) stationary? By Definition 10.14, the process W(t) is stationary if for any set of time instants t 1,..., t m and any τ, f X(t1 ),...,X(t m)(x 1,..., x m ) = f X(t1 +τ),...,x(t m+τ)(x 1,...,x m ) (28) (c) What is the cross-correlation of V (t) and W(t)? By Definition 10.17, the cross-correlation is R V W (t, τ) = E[V (t)w(t + τ)] (29) (d) Under what conditions are W(t) and V (t) jointly wide-sense stationary? By Definition 10.18, W(t) and V (t) jointly wide-sense stationary if i. both W(t) and V (t) are wide-sense stationary, and ii. the cross-corellation depends only on the time difference τ, i.e. R V W (t, t + τ) = R V W (0, τ) = R V W (τ). (e) State the conditions on W(t) and V (t) required for you to be able to compute the power spectral density. Assume that these hold and compute them. The required condition is that W(t), respectively V (t) is widesense stationary. In this case, we can use the Fourier transform table to compute the PSD from the autocorrelation. However, I didn t give expressions for the autocorrelation so that s all we can say here.

ECE302 Spring 2006 Practice Final Exam Solution May 4, 2006 9 (f) State the conditions on W(t) and V (t) required for you to be able to compute the cross-spectral density. Assume that these hold and compute it. The required condition is that W(t) and V (t) be jointly wide-sense stationary. In this case, we can use the Fourier transform table to compute the CSD from the cross-correlation. However, I didn t give an expression for the cross-correlation so that s all we can say here.