LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process



Similar documents
Tenth Problem Assignment

The Exponential Distribution

Master s Theory Exam Spring 2006

2WB05 Simulation Lecture 8: Generating random variables

M/M/1 and M/M/m Queueing Systems

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 2 Solutions

Queuing Theory. Long Term Averages. Assumptions. Interesting Values. Queuing Model

Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS. Part 3: Discrete Uniform Distribution Binomial Distribution

Notes on Continuous Random Variables

ECE302 Spring 2006 HW4 Solutions February 6,

Homework 4 - KEY. Jeff Brenion. June 16, Note: Many problems can be solved in more than one way; we present only a single solution here.

e.g. arrival of a customer to a service station or breakdown of a component in some system.

Process simulation. Enn Õunapuu

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Introduction to Probability

STAT 315: HOW TO CHOOSE A DISTRIBUTION FOR A RANDOM VARIABLE

Practice Problems #4

Load Balancing and Switch Scheduling

Manufacturing Systems Modeling and Analysis

Important Probability Distributions OPRE 6301

ECE302 Spring 2006 HW3 Solutions February 2,

6.2. Discrete Probability Distributions

Exponential Distribution

Probability density function : An arbitrary continuous random variable X is similarly described by its probability density function f x = f X

Chapter 5. Random variables

Math 461 Fall 2006 Test 2 Solutions

UNIT 2 QUEUING THEORY

Math 431 An Introduction to Probability. Final Exam Solutions

by Dimitri P. Bertsekas and John N. Tsitsiklis Last updated: October 8, 2002

6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory

Network Design Performance Evaluation, and Simulation #6

Chapter 5 Discrete Probability Distribution. Learning objectives

Chapter 1. Introduction

2. Discrete random variables

CHAPTER 3 CALL CENTER QUEUING MODEL WITH LOGNORMAL SERVICE TIME DISTRIBUTION

Section 6.1 Discrete Random variables Probability Distribution

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Random variables, probability distributions, binomial random variable

Math 370, Spring 2008 Prof. A.J. Hildebrand. Practice Test 1 Solutions


TEST 2 STUDY GUIDE. 1. Consider the data shown below.

Introduction to Queueing Theory and Stochastic Teletraffic Models

Name: Math 29 Probability. Practice Second Midterm Exam Show all work. You may receive partial credit for partially completed problems.

Point Biserial Correlation Tests

AE64 TELECOMMUNICATION SWITCHING SYSTEMS

Waiting Times Chapter 7

What is Statistics? Lecture 1. Introduction and probability review. Idea of parametric inference

Sampling Distributions

Chapter 9 Monté Carlo Simulation

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Statistics 100A Homework 4 Solutions

Queuing Theory II 2006 Samuel L. Baker

1.5 / 1 -- Communication Networks II (Görg) Transforms

5. Continuous Random Variables

1. Repetition probability theory and transforms

Lecture 7: Continuous Random Variables

6.041/6.431 Spring 2008 Quiz 2 Wednesday, April 16, 7:30-9:30 PM. SOLUTIONS

STAT 360 Probability and Statistics. Fall 2012

Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013

4 The M/M/1 queue. 4.1 Time-dependent behaviour

Fourth Problem Assignment

Stat 515 Midterm Examination II April 6, 2010 (9:30 a.m. - 10:45 a.m.)

Simple Queuing Theory Tools You Can Use in Healthcare

QNAT. A Graphical Queuing Network Analysis Tool for General Open and Closed Queuing Networks. Sanjay K. Bose

Lecture Notes 1. Brief Review of Basic Probability

SPARE PARTS INVENTORY SYSTEMS UNDER AN INCREASING FAILURE RATE DEMAND INTERVAL DISTRIBUTION

Sums of Independent Random Variables

3.4. The Binomial Probability Distribution. Copyright Cengage Learning. All rights reserved.

Queueing Systems. Ivo Adan and Jacques Resing

Exploratory Data Analysis

Lectures on Stochastic Processes. William G. Faris

IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS

Analysis of a Production/Inventory System with Multiple Retailers

0 x = 0.30 x = 1.10 x = 3.05 x = 4.15 x = x = 12. f(x) =

ANALYZING NETWORK TRAFFIC FOR MALICIOUS ACTIVITY

Chapter 5. Discrete Probability Distributions

Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics

Session 10. Laboratory Works

2 Binomial, Poisson, Normal Distribution

Selecting the Right Distribution

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Midterm Exam #1 Instructions:

WHERE DOES THE 10% CONDITION COME FROM?

Web Server Software Architectures

Unit 4 The Bernoulli and Binomial Distributions

HSR HOCHSCHULE FÜR TECHNIK RA PPERSW I L

TEACHING SIMULATION WITH SPREADSHEETS

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

Statistics 100A Homework 4 Solutions

**BEGINNING OF EXAMINATION**

Random Variate Generation (Part 3)

How To Understand And Solve A Linear Programming Problem

Binomial lattice model for stock prices

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

Transcription:

LECTURE 16 Readings: Section 5.1 Lecture outline Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process Number of successes Distribution of interarrival times The time of the success

Random Processes: Motivation Sequence of random variables: Examples: Arrival example: Arrival of people to a bank. Queuing example: Length of a line at a bank. Gambler s ruin: The probability of an outcome is a function of the probability of other outcomes (Markov Chains). Engineering example: Signal corrupted with noise.

The Bernoulli Process A sequence of independent Bernoulli trials. At each trial: T T T H T T T H H T T T T T H T H T T H $ $ $ $ $ $ Examples: Sequence of ups and downs of the Dow Jones. Sequence of lottery wins/losses. Arrivals (each second) to a bank.

Number of successes in time slots (Binomial) Mean: Variance:

Interarrival Times : number of trials until first success (inclusive). (Geometric) Memoryless property. Mean: Variance:

Fresh Start and Memoryless Properties Fresh Start Given n, the future sequence is a also a Bernoulli process and is independent of the past. Memorylessness Suppose we observe the process for n times and no success occurred. Then the pmf of the remaining time for arrival is geometric.

Time of the Arrival : number of trials until success (inclusive). : kth interarrival time It follows that:

Time of the Arrival : number of trials until success (inclusive). Mean: Variance: (Pascal)

LECTURE 17 Readings: Start Section 5.2 Lecture outline Review of the Bernoulli process Definition of the Poisson process Basic properties of the Poisson process Distribution of the number of arrivals Distribution of the interarrival time Distribution of the arrival time

The Bernoulli Process: Review Discrete time; success probability in each slot =. PMF of number of arrivals in time slots: Binomial PMF of interarrival time: PMF of time to arrival: Memorylessness Geometric Pascal What about continuous arrival times? Example: arrival to a bank.

The Poisson Process: Definition Let = Assumptions: Probability of arrivals in an interval of duration. Number of arrivals in disjoint time intervals are independent. For VERY small, we have: = arrival rate of the process.

From Bernoulli to Poisson (1) Bernoulli: Arrival prob. in each time slot = Poisson: Arrival probability in each -interval = Let and : Number of arrivals in a -interval = Number of successes in time slots (Binomial)

From Bernoulli to Poisson (2) Number of arrivals in a -interval as = (Binomial) (reorder terms) (Poisson)

PMF of Number of Arrivals : number of arrivals in a -interval, thus: (Poisson) Mean: Variance: Transform:

Email Example You get email according to a Poisson process, at a rate of = 0.4 messages per hour. You check your email every thirty minutes. Prob. of no new messages = Prob. of one new message =

Interarrival Time : time of the arrival. First order interarrival time: (Exponential) Why:

Interarrival Time Fresh Start Property: The time of the next arrival is independent from the past. Memoryless property: Suppose we observe the process for T seconds and no success occurred. Then the density of the remaining time for arrival is exponential. Email Example: You start checking your email. How long will you wait, in average, until you receive your next email?

Time of Arrival : time of the arrival. : kth interarrival time It follows that:

Time of Arrival : time of the arrival. (Erlang) of order

Bernoulli vs. Poisson Times of Arrival Arrival Rate PMF of Number of Arrivals PMF of Interarrival Time PMF of Arrival Time Bernoulli Discrete /per trial Binomial Geometric Pascal Poisson Continuous /unit time Poisson Exponential Erlang

LECTURE 18 Readings: Finish Section 5.2 Lecture outline Review of the Poisson process Properties Adding Poisson Processes Splitting Poisson Processes Examples

The Poisson Process: Review Number of arrivals in disjoint time intervals are independent, = arrival rate (for very small ) (Poisson) Interarrival times (k =1): Time to the arrival: (Exponential) (Erlang)

Example: Poisson Catches Catching fish according to Poisson. Fish for two hours, but if there s no catch, continue until the first one.

Example: Poisson Catches Catching fish according to Poisson. Fish for two hours, but if there s no catch, continue until the first one.

Adding (Merging) Poisson Processes Sum of independent Poisson random variables is Poisson. Sum of independent Poisson processes is Poisson. Red light flashes Green light flashes Some light flashes What is the probability that the next arrival comes from the first process?

Splitting of Poisson Processes Each message is routed along the first stream with probability, and along the second stream with probability. Routing of different messages are independent. Email traffic leaving MIT Server USA Foreign Each output stream is Poisson.

Example: Email Filter (1) You have incoming email from two sources: valid email, and spam. We assume both to be Poisson. Your receive, on average, 2 valid emails per hour, and 1 spam email every 5 hours. Valid Spam Total incoming email rate = Incoming Email Probability that a received email is spam =

Example: Email Filter (2) You install a spam filter, that filters out spam email correctly 80% of the time, but also identifies a valid email as spam 5% of the time. Valid Spam Folder Inbox Spam Inbox email rate = Spam folder email rate =

Example: Email Filter (3) Valid Spam Folder Inbox Spam Probability that an email in the inbox is spam = Probability that an email in the spam folder is valid = Every how often should you check your spam folder, to find one valid email, on average?