Period-two martingale corrector for a birth-death chain

ID: period-two-martingale-corrector-for-a-birth-death-chain

For a birth-death chain on the integers with right/left probabilities depending on parity , define . It is a harmonic function for a Markov chain exactly when
equivalently . The correction is bounded. Stopping this martingale at boundaries gives a lower exit probability tending to as , even though the original position need not be a martingale.
// Target: markov-process.bigb

New to topics? Read the docs here!