Uniformization

Documentation for Uniformization.

Uniformization.discrete_observation_times โ€” Function
discrete_observation_times(Q, k=2^10, t=0.0)

Approximate ๐‘(t) = exp(t๐) using Pโ‚„ of Yoon & Shanthikumar (1989, p. 181), where the Rแตขโฑผ are the probability of starting at state ๐‘— and ending at state ๐‘– at time ๐‘ก. The k parameter should be set to a power of two for efficiency.

This method can give inaccurate results if k โ‰ค t * getmaxrate(Q)!

source
Uniformization.erlangization โ€” Function
erlangization(Q, k=2^10, t=0.0)

Approximate ๐‘(t) = exp(t๐) using Pโ‚ƒ of Yoon & Shanthikumar (1989, p. 179), originally from Ross (1987), where the Rแตขโฑผ are the probability of starting at state ๐‘— and ending at state ๐‘– at time ๐‘ก. The k parameter should be set to a power of two for efficiency.

source
Uniformization.make_dtmc โ€” Function
make_dtmc(Q, ฮป=2^10)

Convert a transition rate matrix ๐ for a continuous-time Markov chain to a transition probability matrix ๐ for the corresponding discrete-time Markov chain.

source
Uniformization.make_dtmc! โ€” Function
make_dtmc!(Q, ฮป=2^10)

Convert a transition rate matrix ๐ for a continuous-time Markov chain to a transition probability matrix ๐ for the corresponding discrete-time Markov chain, in place.

source
Uniformization.standard_uniformization โ€” Function
standard_uniformization(Q, k=2^10, t=0.0, ฯต=10e-9; p0)

Approximate ๐ฉ(t) = exp(t๐)๐ฉ(0) using standard uniformization with left and right truncation of the Poisson distribution used to approximate the number of jumps up to time t. The rules for choosing the left and right truncation points are based on Reibman & Trivedi (1988, Computers & Operations Research).

Note that this computes ๐ฉ(t) on the fly; it does not return the matrix ๐‘(t) as erlangization() and discreteobservation() do.

source
Uniformization.uniformize โ€” Function
uniformize(Q, p0, k=2^10, t=0.0,
           method::Function=erlangization, args...)

Approximate ๐ฉ(t) = exp(t๐)๐ฉ(0) using uniformization. The parameter k controls the rate of transitions occurring in the approximated process. Higher k leads to a better approximation. Returns a (normalized) distribution over the states at time ๐‘ก.

Uses Erlangization/external uniformization by default because it seems to be the most robust with stiff problems.

source