-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlec20.typ
More file actions
180 lines (120 loc) · 5 KB
/
Copy pathlec20.typ
File metadata and controls
180 lines (120 loc) · 5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
== Lecture 20
Last week we defined & constructed the 1-dimensional, rate $lambda$
Poisson Process:
Definition
($N_t, t >= 0$) is a $"PP"(lambda)$ if
1. $N_0 = 0$
2. Poisson increments: \ $(N_(t+s) - N_s)#footnote[\# pts in $(t, t+s]$] ~ "Poisson"(lambda t#footnote[length of $= (s, t+s]$])$, for any $s, t$
3. Indep. increments: \ $N_(t_1) - N_(t_0), dots, N_(t_n) - N_(t_(n-1))$ indep for any $t_0 < t_1 < dots < t_(n-1) < t_n$
#pagebreak()
Construction: \
"Point process" on $[0, oo)$ \
with IID $"Exp"(lambda)$ inter-arrival times between points.
#figure(
image(
"./figs/p20_04m.png",
width: 100%,
),
)
$
N_t & = "# of * in" [0, t] \
& = max { n: T_n <= t }
$
#pagebreak()
Exponential RVs are very special: *only* continuous RV with Lack of Memory (LoM) property:
$
P(tau > t+s | tau > s) = P(tau > t)
$
"Given it survives to $s$, it starts afresh at time $s$."
- This is key to many interesting/important properties of $"PP"(lambda)$ -- the subject of §2.4 in [D].
#pagebreak()
We also studied Compound Poisson Processes, where each point is given an IID value $Y_i$.
Then
$
S_t = sum_(i=1)^(N_t) Y_i
$
Note:
Standard $"PP"(lambda)$ is the case where $Y_i equiv 1$ (as then $S_t = sum_(i=1)^(N_t) 1 = N_t$).
#pagebreak()
(§2.4 in [D])
Thinning of Poisson Processes#footnote[taking a PP, and spliting it up into indep. sub. PPs]
*Theorem.* Let ($N_t, t >= 0$) be a $"PP"(lambda)$.
Suppose $Y$ is a RV on ${1, 2, dots, m}$, with $P(Y=j) = p_j$.
Then the compound processes
$
N_j (t) = sum_(i=1)^(N_t) bb(1)_({Y_i=j})#footnote[\# of type $j$ pts arrving by time $t$]
$
are *independent* rate $lambda p_j$ Poisson Processes.
#pagebreak()
Proof. For any $s, t$ & $k_1, dots, k_m$#footnote[$k_i$: \# of type $i$ pts. arriving in $(s, t+s]$]
#text(size: 10pt)[
$
& P(N_1 (t+s) - N_1 (s) = k_1, dots, N_m (t+s) - N_m (s) = k_m) \
& = binom(k_1 + dots + k_m, k_1, dots, k_m) p_1^(k_1) dots p_m^(k_m) dot P(underbrace(N_(t+s) - N_s, #text[$"Poisson"(lambda t)$]) = k_1 + dots + k_m) \
& = cancel((k_1+dots+k_m)!) / (k_1 ! dots k_m !) p_1^(k_1) dots p_m^(k_m) dot e^(-lambda t) ((lambda t)^(k_1+dots+k_m)) / cancel((k_1+dots+k_m)!) \
& = product_(j=1)^m e^(-lambda p_j t) ((lambda p_j t)^(k_j)) / (k_j !) = underbrace(product_(j=1)^m, #text[indep.]) P("Poisson"(lambda p_j) = k_j)
$
]
#pagebreak()
This proves independence of the $N_j (t)$ processes & shows that they each satisfy condition (2.) in the definition of $"PP"$.
Conditions (1.) & (3.) are immediately inherited from ($N_t$).
#pagebreak()
Example 2.8: "Poissonization"
- Some problems become easier if \# of objects is Poisson rather than a fixed (non-random) number.
*Eg:*
\# of spectators at a game is Poisson ($lambda=2263$).
What is the prob. that for all 365 days of year, at least one person in crowd has this B-day?
#pagebreak()
*Ans*
Supposing uniformly random B-days (not so realistic):
$
N_j = "# born on day" j "of 365"
$
are IID $"Poisson"(lambda_j = 2263/365 = 6.2)$
$
P("all" N_j > 0) & = (1 - e^(-6.2))^365 #footnote[$P("Poisson"(lambda) = 0) = e^(-lambda)$] \
& approx 47.6%
$
#pagebreak()
§2.2.2 [D]: Non-homogeneous Poisson Processes
We skipped this last week:
This is a point process on $[0, oo)$ with Poisson increments --- but rate of arrival of points changes with time.
- More realistic in many applications.
#pagebreak()
*Def*
($N_t, t >= 0$) is a Poisson Process with rate ($lambda_r#footnote[rate at which points arrive at time $r$], r >= 0$) if
1. $N_0 = 0$
2. $N_t - N_s ~ "Poisson"(integral_s^t lambda_r d r)$
3. Indep. increments#footnote[condition (1.) and (3.) are the same as for regular (hom.) PP]
If $lambda_r = lambda$ then regular $"PP"(lambda)$, since
$
integral_s^t lambda d r = lambda integral_s^t d r = lambda(t-s)#footnote[length of $(s, t]$]
$
#pagebreak()
Note: Inter-arrival times no longer independent or exponential.
See p.106 in [D].
#line(length: 100%)
Thinning property can be generalized to non-hom.
Case:
#pagebreak()
*Theorem.*
Suppose we have a Poisson Process with rate $lambda$, however keep a point arriving at time $r$ only with prob. $p(r)$ (and otherwise delete point).
Then the resulting process is a non-hom. Poisson Process with rate ($lambda p(r), r >= 0$).
#pagebreak()
Example 2.9 (M/G/$oo$ queue#footnote[for future reference.])
Calls arrive at a call center with so many agents according to a $"PP"(lambda)$.
The duration of any given call follows some distribution with CDF $G$ with $G(0)=0$ & mean $mu$.
$
G(y) = P("call time" <= y)
$
#pagebreak()
By the previous theorem, for any $t$, the \# of ongoing calls at time $t$ is Poisson with mean
$
integral_0^t lambda [1 - G(t-s)]#footnote[prob. call placed at time s is still ongoing] d s = lambda integral_0^t [1 - G(t-s)] d s
$
Taking $t -> oo$, this converges to
$
lambda integral_0^oo [1 - G(s)] d s =#footnote["Tail rule:" $"E"[X] = integral_0^oo P(X>x) d x$, for non-negative RV $X$] lambda mu
$
#pagebreak()
$therefore$ In the long run/equilibrium, the \# of calls in system will be Poisson with mean $lambda mu$.