Slides 7 B
Slides 7 B
Chrysafis Vogiatzis
Lecture 7 b
F (x)
f (x)
α β α β
0.8
λ = 0.5
0.6
λ=1
λ = 1.5
0.4 λ=2
0.2
0
0 0.2 0.4 0.6 0.8 1
1.5
λ = 0.5
λ=1
1 λ = 1.5
λ=2
0.5
0 1 2 3 4 5
1.5
λ = 0.5
λ=1
1
λ = 1.5
λ=2
0.5
0 1 2 3 4 5
1.5
λ = 0.5
λ=1
1
λ = 1.5
λ=2
0.5
0 1 2 3 4 5
1.5
λ = 0.5
λ=1
1
λ = 1.5
λ=2
0.5
0
0 1 2 3 4 5
0.8
λ = 0.5
0.6
λ=1
λ = 1.5
0.4 λ=2
0.2
0
0 0.2 0.4 0.6 0.8 1
0.8
λ = 0.5
0.6 λ=1
λ = 1.5
0.4 λ=2
0.2
0 1 2 3 4 5
0.8
λ = 0.5
0.6 λ=1
λ = 1.5
0.4 λ=2
0.2
0 1 2 3 4 5
0.8
λ = 0.5
0.6 λ=1
λ = 1.5
0.4 λ=2
0.2
0 1 2 3 4 5
0.8
λ = 0.5
0.6 λ=1
λ = 1.5
0.4 λ=2
0.2
0 1 2 3 4 5
Example
Historically, an emergency room after hours (10pm–6am) sees 48
requests every 8 hours. The time until the next patient arrives is
exponentially distributed with that rate. What is the probability that the
next patient arrives in the next 10 minutes? What is the probability
there are 5 patients during the next hour?
48 requests
Answer: Let’s use λ = 8 hours = 6 requests per hour.
The time to the next patient arriving is exponentially distributed.
The number of patients is Poisson distributed.
Example
Historically, an emergency room after hours (10pm–6am) sees 48
requests every 8 hours. The time until the next patient arrives is
exponentially distributed with that rate. What is the probability that the
next patient arrives in the next 10 minutes? What is the probability
there are 5 patients during the next hour?
48 requests
Answer: Let’s use λ = 8 hours = 6 requests per hour.
The time to the next patient arriving is exponentially distributed.
The number of patients is Poisson distributed.
Example
Historically, an emergency room after hours (10pm–6am) sees 48
requests every 8 hours. The time until the next patient arrives is
exponentially distributed with that rate. What is the probability that the
next patient arrives in the next 10 minutes? What is the probability
there are 5 patients during the next hour?
48 requests
Answer: Let’s use λ = 8 hours = 6 requests per hour.
The time to the next patient arriving is exponentially distributed.
The number of patients is Poisson distributed.
Example
Historically, an emergency room after hours (10pm–6am) sees 48
requests every 8 hours. The time until the next patient arrives is
exponentially distributed with that rate. What is the probability that the
next patient arrives in the next 10 minutes? What is the probability
there are 5 patients during the next hour?
48 requests
Answer: Let’s use λ = 8 hours = 6 requests per hour.
The time to the next patient arriving is exponentially distributed.
The number of patients is Poisson distributed.
Answer:
λ = 6 request per hour. Let T be the time to next patient arrival,
and let X be the number of patients during the next hour.
Time to next patient:
1
P(T ≤ 10 mins) = P(T ≤ 1/6 hrs) = 1 − e−6· 6 = 1 − e−1 =
= 0.6321.
Number of patients:
65
P(X = 5) = e−6 · = 0.1606.
5!
Answer:
λ = 6 request per hour. Let T be the time to next patient arrival,
and let X be the number of patients during the next hour.
Time to next patient:
1
P(T ≤ 10 mins) = P(T ≤ 1/6 hrs) = 1 − e−6· 6 = 1 − e−1 =
= 0.6321.
Number of patients:
65
P(X = 5) = e−6 · = 0.1606.
5!
Answer:
λ = 6 request per hour. Let T be the time to next patient arrival,
and let X be the number of patients during the next hour.
Time to next patient:
1
P(T ≤ 10 mins) = P(T ≤ 1/6 hrs) = 1 − e−6· 6 = 1 − e−1 =
= 0.6321.
Number of patients:
65
P(X = 5) = e−6 · = 0.1606.
5!
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
We are looking for P(X > 120000|X > 80000). Let s = 120000 and
t = 80000. Then:
P(X >s+t)
z }| {
P (X > s + t ∩ X > s)
P (X > s + t|X > s) = =
P (X > s)
P (X > s + t) e−λ(s+t)
= = −λ(s) = e−λt =
P (X > s) e
= P (X > t) = P (X > 40000) = 0.607.
Definition
A random variable X is said to be memoryless (without memory) if:
Definition
A random variable X is said to be memoryless (without memory) if:
Definition
A random variable X is said to be memoryless (without memory) if:
Definition
A random variable X is said to be memoryless (without memory) if: