MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Similar documents
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

(b) What is the variance of the time until the second customer arrives, starting empty, assuming that we measure time in minutes?

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

SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012

Part I Stochastic variables and Markov chains

Q = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days?

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

B. Maddah INDE 504 Discrete-Event Simulation. Output Analysis (1)

Stochastic Processes

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Friday, Feb 8, 2013

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017.

Statistics 433 Practice Final Exam: Cover Sheet and Marking Sheet

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

Probability and Statistics Concepts

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Monday, Feb 10, 2014

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

Answers to selected exercises

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science ALGORITHMS FOR INFERENCE Fall 2014

STA 624 Practice Exam 2 Applied Stochastic Processes Spring, 2008

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

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

18.05 Exam 1. Table of normal probabilities: The last page of the exam contains a table of standard normal cdf values.

16:330:543 Communication Networks I Midterm Exam November 7, 2005

18.175: Lecture 17 Poisson random variables

Readings: Finish Section 5.2

Continuous-time Markov Chains

DISCRETE STOCHASTIC PROCESSES Draft of 2nd Edition

Random Walk on a Graph

Page 0 of 5 Final Examination Name. Closed book. 120 minutes. Cover page plus five pages of exam.

Exact Simulation of the Stationary Distribution of M/G/c Queues

Massachusetts Institute of Technology

Operations Research Letters. Instability of FIFO in a simple queueing system with arbitrarily low loads

Midterm Exam 1 Solution

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 22 12/09/2013. Skorokhod Mapping Theorem. Reflected Brownian Motion

57:022 Principles of Design II Final Exam Solutions - Spring 1997

Midterm Exam 2 (Solutions)

6.041/6.431 Fall 2010 Final Exam Wednesday, December 15, 9:00AM - 12:00noon.

CS 798: Homework Assignment 3 (Queueing Theory)

Session-Based Queueing Systems

Simulation. Where real stuff starts

Stochastic process. X, a series of random variables indexed by t

Performance Evaluation of Queuing Systems

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Mathematics 375 Probability and Statistics I Final Examination Solutions December 14, 2009

IEOR 4106: Spring Solutions to Homework Assignment 7: Due on Tuesday, March 22.

MAT 271E Probability and Statistics

Logistical and Transportation Planning Methods 1.203J/6.281J/13.665J/15.073J/16.76J/ESD.216J

Notes on Continuous Random Variables

Design and Analysis of Algorithms April 16, 2015 Massachusetts Institute of Technology Profs. Erik Demaine, Srini Devadas, and Nancy Lynch Quiz 2

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Operations Research II, IEOR161 University of California, Berkeley Spring 2007 Final Exam. Name: Student ID:

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. SOLUTIONS

Simulation. Where real stuff starts

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours.

University of Maryland Department of Physics. Spring 2009 Final Exam 20. May (175 points) Post grades on web? (Initial, please) Yes No

Question Points Score Total: 70

Markov Processes and Queues

Introduction to queuing theory

ECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6

Queueing Theory and Simulation. Introduction

The Queue Inference Engine and the Psychology of Queueing. ESD.86 Spring 2007 Richard C. Larson

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

Markov Chain Model for ALOHA protocol

6.262: Discrete Stochastic Processes 2/2/11. Lecture 1: Introduction and Probability review

MATH 56A SPRING 2008 STOCHASTIC PROCESSES

Figure 10.1: Recording when the event E occurs

MAT SYS 5120 (Winter 2012) Assignment 5 (not to be submitted) There are 4 questions.

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

NATCOR: Stochastic Modelling

Massachusetts Institute of Technology

MA FINAL EXAM Green May 5, You must use a #2 pencil on the mark sense sheet (answer sheet).

Lecture Notes 7 Random Processes. Markov Processes Markov Chains. Random Processes

Statistics 150: Spring 2007

Variance reduction techniques

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Introduction to Queueing Theory

EE126: Probability and Random Processes

The discrete-time Geom/G/1 queue with multiple adaptive vacations and. setup/closedown times

Poisson Processes. Stochastic Processes. Feb UC3M

Massachusetts Institute of Technology

GI/M/1 and GI/M/m queuing systems

Introduction to Algorithms March 10, 2010 Massachusetts Institute of Technology Spring 2010 Professors Piotr Indyk and David Karger Quiz 1

IS 709/809: Computational Methods in IS Research Fall Exam Review

Introduction to Queueing Theory

Introduction to Stochastic Processes

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems

Solutions For Stochastic Process Final Exam

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

PBW 654 Applied Statistics - I Urban Operations Research

Chapter 2 Queueing Theory and Simulation

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

Introduction to Queueing Theory with Applications to Air Transportation Systems

HITTING TIME IN AN ERLANG LOSS SYSTEM

Transcription:

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.262 Discrete Stochastic Processes Midterm Quiz April 6, 2010 There are 5 questions, each with several parts. If any part of any question is unclear to you, please ask. The blue books are for scratch paper only. Don t hand them in. Put your final answers in the white booklets and briefly explain your reasoning for every question. Please put your name on each white booklet you turn. Few questions require extensive calculations and most require very little, provided you pick the right tool or model in the beginning. The best approach to each problem is to first think carefully over what you ve learned and decide precisely what tool fits best - before putting pencil to paper. Partial Credit We will give partial credit if you present your thinking in a clear way we can understand (and your thinking is at least partially correct), but otherwise not. If you model a problem using a tool that requires significant computation, it is best to first give the model explicitly and indicate how you will use the results of the computation to determine the final answer. This approach will help you receive fair credit if your computations aren t perfect. Time You will have at least 4 hours to finish the exam, and 30 60 minutes more if many of you request a bit more time. Useful Tables and Formulas These are given on the last pages of the quiz. 1

Problem 1 (19 pts.) Consider the following finite-state Markov Chain. (5) a) Identify all the classes present in the chain and the states belonging to each class. Find the period of each class and determine whether the class is transient or recurrent. b) Let p i, j ( n ) denote the probability of the process ending up in state j in n transitions, conditioned on the fact that the process started in state i. In other words, p i, j( n ) = P( X n = j X 0 = i ). Compute the value of each of the limits below, or else explain briefly why it does not exist. (2) i) limn p1,5 ( n ). (2) ii) limn p1,7 ( n ). (2) iii) limn p1,2 ( n ). (2) iv) limn p4,5 ( n ). (6) c) Let P = p, i j be the transition matrix for this chain. Find all the possible steady state vectors for this chain, i.e., find all vectors π = [π,,k,π 1 π 2 7 ] with the properties that π 1 +π 2 +K +π 7 =1, 0 π 1,K,π 7 1 and π P = π. 2

Problem 2 (20 pts) Consider a car ferry that holds some integer number k of cars and carries them across a river. The ferry business has been good, but customers complain about the long wait for the ferry to fill up. The cars arrive according to a renewal process. The ferry departs immediately upon the arrival of the k-th customer and subsequent ferries leave immediately upon the arrival of the 2k-th customer, the 3k-th customer, etc. (5) a) The IID inter-arrival times of the cars have mean X, variance σ 2 and moment generating function gx ( r). Does the sequence of departure times of the ferries form a renewal process? Explain carefully. (5) b) Find the expected time that a randomly chosen customer waits from arriving at the ferry terminal until departure of its ferry. As part of your solution, please give a reasonable definition of the expected waiting time for a randomly chosen customer, and please first solve this problem explicitly for the cases k = 1 and k = 2. (5) c) Is there a 'slow truck' phenomenon here? (This the phrase we used to describe the effect of large variance on the term E[X 2 ]/2E[X] in the steady state residual life or on the E[Z 2 ] term in the numerator of the Pollazcek-Khinchin formula.) Give a brief intuitive explanation. (5) d) In an effort to decrease waiting, the ferry managers institute a policy where the maximum interval between ferry departures is 1 hour. Thus a ferry leaves either when it is full or after one hour has elapsed, whichever comes first. Does the sequence of departure times of ferries that leave with a full load of cars constitute a renewal process? Explain carefully. 3

Problem 3 (22pts) The use of the various laws of large numbers with random variables that take huge values with tiny probabilities requires careful thought. Except where exact answers are requested, your numerical answers need only be accurate to within + 1%.) Consider a discrete r.v. X with the PMF 1 10 = ( 1 10 ) 2, 1 10 ( 1 10 ) 2, 10 12 =10 10. p X ( ) p ()= X p X ( ) (4) a) Find the mean and variance of X. Assuming that {X m ; m 1} is an IID sequence with the distribution of X and that S n = X 1 + L + X n for each n, find the mean and variance of S n. ( 4) b) Sketch the distribution function of S n for n =10 6. (You may plot it as if it were a continuous function, but use a linear scale for the x-axis.) Estimate the value of s to within + 1% for which F ( s)= 34 and draw your sketch from -2s to 2s on the horizontal axis. S n (4) c) Again for n =10 6, find an exact expression for 1 F S (2 x 10 6 ) when n = 10 6 and give a n simple numerical approximation of this value (a better approximation than 0). 10 (5) d) Now let n =10 10. Give an exact expression for P( S n 10 ) for n = 10 10, and find an approximate numerical value. Sketch the distribution function of S n for n =10 10. Scale the horizontal axis to include the points 0 near its left end and 2 x 10 12 near its right end. (5) e) What is roughly (i.e., within an order of magnitude or so) the smallest value of n for which the central limit theorem would work well for this problem? 4

Problem 4 (20 pts) A certain physical object emits three types of particles: negative-spin particles, positive-spin particles of type A and positive-spin particles of type B. A processing device records the times and the types of particle arrivals at the sensor. Considering only the particle types (i.e. negative, positive A, positive B), the corresponding arrival process can be modeled as a finite-state Markov chain shown below, where State 1 is associated with a negative-spin particle, State 2 with a positive-spin particle of type A and State 3 with a positive-spin particle of type B. For example, after recording a negative-spin particle, the next arrival at the sensor will be a positive-spin type A arrival with probability q or a positive-spin type B arrival with probability 1-q. Suppose that p (0,1 2, ) q (0,1/ 2).. negative spin positive-spin B positive-spin A a) Let us consider several possible processes arising from the above setup. (4) i) Do the arrivals in time of positive-spin particles of type A form a renewal process? A delayed renewal process? (4) ii) Do the arrivals in time of positive-spin particles form a renewal process? A delayed renewal process? (4) iii) Does the discrete-time process that records the spin orientations (i.e positive vs. negative) of the incoming particles form a Bernoulli process? (4) iv) Does the discrete-time process that records the types (A vs. B) of incoming positive-spin particles form a Bernoulli proces (4) b) Starting from State 1, let M 1 denote the number of transitions until the chain returns to State 1. Find E (M 1 ) as well as the probability mass function of M 1. 5

Problem 5 (19 pts) Consider a first-come, first serve M/M/1 queue with a customer arrival rate λ and a service rate μ, i.e., PT ( k > τ ) = e μτ, τ 0, where T k is the service time for the k-th customer. Assume the queue is empty at t = 0, i.e., no customer is in the queue or in service at t = 0. (1) a) Find the expected total wait in queue plus service for the first customer. (No derivation or explanation required.) (5) b) Find the expected total wait in queue plus service for the second customer. (Please give complete calculation and briefly explain your reasoning.) For the customer arrival process with rate λ, consider the age Z(t) of the interarrival interval at any time t 0. The first interarrival interval starts at t = 0. (This remaining three questions are about any Poisson process with rate λ, starting at t = 0, and have nothing to do with the queue above.) (1) c) Find the expected age E[Z(0)] and find (or recall) lim E[ Zt ( )]. (No explanation required.) t (6) d) Find the expected age E[Z(t)], t 0. (You can derive this from your answer to part e), or you can solve part d) separately. Please give a complete calculation and briefly explain your reasoning.) (6) e) Find the c F Z() t ( z ), t 0, z [0,t]. (Please give a complete calculation and briefly explain your reasoning.) 6

Possibly Useful Formula For a large integer N and small ε, (i.e., N >> 1 and 0 < ε << 1), (1 ε ) N e Nε which also approximately equals, if Nε << 1 as well, N ( N 1) 2 1 Nε + ε + 2 7

MIT OpenCourseWare http://ocw.mit.edu 6.262 Discrete Stochastic Processes Spring 2011 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.