-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlec26.typ
More file actions
137 lines (89 loc) · 3.48 KB
/
Copy pathlec26.typ
File metadata and controls
137 lines (89 loc) · 3.48 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
#import "misc.typ": *
= Continuous Time Markov Chains
== Lecture 26
Recall that discrete time MC's ($X_n$) have "Markov Property":
$
P(X_(n+m) = j | X_n=i, X_(n-1)=i_(n-1), dots, X_0=i_0) \
= P(X_(n+m)=j | X_n=i)
$
for all $n, m$ & $j, i, i_(n-1), dots, i_0 in S$.
I.e. given present, past & future are independent.
Only need to know present to determine probability of future behavior.
#pagebreak()
In §4, we extend this to processes ($X_t, t >= 0$) evolving continuously in time.
We still assume, however, that the state space (possible values of $X_t$) is discrete.
We extend the MP as follows:
#pagebreak()
*Def* \
($X_t, t >= 0$) is a *continuious* time MC on $Omega subset Z$ if
$
P(X_(t+s)=j | X_s=i, X_(s_n)=i_n, dots, X_(s_0)=i_0) \
= P(X_(t+s)=j | X_s=i)
$
For all $0 <= s_0 < s_1 < dots < s$ & $0 <= t$ & $j, i, i_n, i_(n-1), dots, i_0 in Omega$.
#pagebreak()
In fact, we have already seen some examples of such processes, e.g. the Poisson Process.
#pagebreak()
E.g. ($N_t$) a PP($lambda$) & ($Y_n$) a discrete time MC with TR probs $r_(i j)$.
Let $X_t = Y_(N_t)$. The ($X_t$) is a continuous time MC.
(For instance, if $r_(i,i+1)=1$ & $r_(i j)=0$ o/w, we see ($N_t$) itself is a continuous time process.)
#pagebreak()
*Proof* \
#figure[
#image(
"./figs/p26_15m.png",
width: 100%,
)
]
If $X_t = i$, then by LOM & MP of ($Y_n$), the next transition will occur after an Exp($lambda$) amount of time to some $j$ w.p. $r_(i j)$, independently of anything at times $s < t$.
#pagebreak()
For discrete time MC everything we wanted to know came from the "1-step transition probabilities" $p_(i j)=P(X_(n+1)=j|X_n=i)$.
In continuous time, there is no first step, *but* we still have $p_t (i,j) = P(X_t=j | X_0=i)$#footnote[currently at state $i$, prob. of being at state $j$ after time $t$].
#pagebreak()
E.g. in previous example:
$
p_t (i,j) =^("LoTP") sum_(n=0)^oo underbrace(e^(-lambda t)(lambda t)^n / (n!), P(n "*'s in" (0, t])) underbrace((r^n)_(i j), n"-step pr." \ P(Y_n=j | Y_0=i))
$
#pagebreak()
And we still have the Chapman-Kolmogorov Equations:
$
sum_k p_s (i,k) p_t (k,j) \
= p_(s+t)(i,j)
$
*Proof* \
Again by MP + LoTP, at time $s in [0, t+s]$, the MC has to be a some $k$.
#figure[
#image(
"./figs/p26_24m.png",
width: 20%,
)
]
#pagebreak()
Although there is no $1^"st"$ step, it is intuitive that in this continuous context we should instead take a limit $t -> 0$ to distill all relevant info about the transition probabilities of a continuous MC.
#pagebreak()
More specifically, the derivative at $t=0$ gives us the "jump rates".
$
q_(i j) = lim_(t -> 0) (p_t (i,j)) / t quad (i != j)
$
This is the *rate* at which ($X_t$) jumps from $i$ to $j$.
#pagebreak()
E.g. in the previous examples:
$
& P(>= 1 "*'s in" (0, t]) \
& = underbrace(P(=1 "* in" (0, t]), e^(-lambda t) lambda t) + o(t)#footnote[Some function going $-> 0$ as $t -> 0$] \
& therefore q_(i j) = lim_(t->0) (p_t (i,j)) / t = lambda r_(i j)#footnote[we will do this in more detail in §4.2]
$
(since $e^(-lambda t) -> 1$ as $t -> 0$)
#pagebreak()
This makes sense:
\*'s appear in PP($lambda$) at rate $lambda$ & $i -> j$ happens w.p. $r_(i j)$. Therefore, in ($X_t$), transitions $i -> j$ occur at rate $lambda r_(i j)$.
E.g. in PP($lambda$) itself, we just have $q_(i,i+1) = lambda$.
#pagebreak()
Other simple (but important) examples:
E.g. M/M/s queue $s$ servers \
Arrivals are IID $Exp(lambda)$ \
Service times IID $Exp(mu)$
$
q_(i, i+1) & = lambda \
q_(i, i-1) & = min{i, s} mu
$