- #1
fignewtons
- 28
- 0
Homework Statement
Describe the construction of a Markov chain X0, X1, ... on Ω ∈ (0, 1) with state space S = {1, 2, ..., s} and S X S PTM P and initial state X0 ~ ν (probabilities distributed like vector ν). Use the sequence U0, U1, ... to generate the Xn's
Homework Equations
U0, U1 is a sequence of iid random variables (numbers between 0 and 1)
ν = (ν1, ν2, ..., νs)
The Attempt at a Solution
Step 1:
let X0 = 1 if U0 ≤ v1
let X0 = 2 if ν1< U0 ≤ v2...
more generally let X0 = s if νs-1< U0 ≤ vs
Set n = 1
Step 2:
If Xn-1 = 1 let Xn=1 if Un ≤ νP11...
let Xn=s if νP1(s-1) < Un ≤ νP1s
... more generally
If Xn-1 = s let Xn=1 if Un ≤ νPs1...
let Xn=s if νPs(s-1) < Un ≤ νPss
Step 3:
Increase n by 1 and repeat 2)
Please let me know if this makes sense.