matrix analytic method
{{Short description |Computing technique in probability theory}}
In probability theory, the matrix analytic method is a technique to compute the stationary probability distribution of a Markov chain which has a repeating structure (after some point) and a state space which grows unboundedly in no more than one dimension.{{Cite book | last1 = Harchol-Balter | first1 = M.|author1-link=Mor Harchol-Balter | chapter = Phase-Type Distributions and Matrix-Analytic Methods | doi = 10.1017/CBO9781139226424.028 | title = Performance Modeling and Design of Computer Systems | pages = 359–379 | year = 2012 | isbn = 9781139226424 }}{{Cite journal | last1 = Neuts | first1 = M. F. | doi = 10.1016/0377-2217(84)90034-1 | title = Matrix-analytic methods in queuing theory | journal = European Journal of Operational Research | volume = 15 | pages = 2–12| year = 1984 }} Such models are often described as M/G/1 type Markov chains because they can describe transitions in an M/G/1 queue.{{Cite journal | last1 = Meini | first1 = B.|author1-link=Beatrice Meini | title = An improved FFT-based version of Ramaswami's formula | doi = 10.1080/15326349708807423 | journal = Communications in Statistics. Stochastic Models | volume = 13 | issue = 2 | pages = 223–238 | year = 1997 }}{{Cite journal | last1 = Stathopoulos | first1 = A. | last2 = Riska | first2 = A. | last3 = Hua | first3 = Z. | last4 = Smirni | first4 = E. | author4-link = Evgenia Smirni | title = Bridging ETAQA and Ramaswami's formula for the solution of M/G/1-type processes | doi = 10.1016/j.peva.2005.07.003 | journal = Performance Evaluation | volume = 62 | issue = 1–4 | pages = 331–348 | year = 2005 | citeseerx = 10.1.1.80.9473 }} The method is a more complicated version of the matrix geometric method and is the classical solution method for M/G/1 chains.{{Cite book | last1 = Riska | first1 = A. | last2 = Smirni | first2 = E. | author2-link = Evgenia Smirni | chapter = M/G/1-Type Markov Processes: A Tutorial | doi = 10.1007/3-540-45798-4_3 | title = Performance Evaluation of Complex Systems: Techniques and Tools | series = Lecture Notes in Computer Science | volume = 2459 | pages = [https://archive.org/details/performanceevalu0000unse/page/36 36] | year = 2002 | isbn = 978-3-540-44252-3 | chapter-url = http://www.cs.wm.edu/~riska/paper-MG1-tutorial.pdf | url-access = registration | url = https://archive.org/details/performanceevalu0000unse/page/36 }}
Method description
An M/G/1-type stochastic matrix is one of the form
::
B_0 & B_1 & B_2 & B_3 & \cdots \\
A_0 & A_1 & A_2 & A_3 & \cdots \\
& A_0 & A_1 & A_2 & \cdots \\
& & A_0 & A_1 & \cdots \\
\vdots & \vdots & \vdots & \vdots & \ddots \end{pmatrix}
where Bi and Ai are k × k matrices. (Note that unmarked matrix entries represent zeroes.) Such a matrix describes the embedded Markov chain in an M/G/1 queue.{{cite book|first1=Gunter|last1= Bolch|first2=Stefan |last2= Greiner |first3=Hermann |last3=de Meer |first4= Kishor |last4= Shridharbhai Trivedi | year=2006| edition=2 | page=250| title=Queueing Networks and Markov Chains: Modeling and Performance Evaluation with Computer Science Applications |publisher= John Wiley & Sons, Inc|isbn=978-0471565253}}{{Cite book | first1 = Jesús R. | last1 =Artalejo | first2 = Antonio | last2 = Gómez-Corral| doi = 10.1007/978-3-540-78725-9_7 | chapter = The Matrix-Analytic Formalism | title = Retrial Queueing Systems | pages = 187–205 | year = 2008 | isbn = 978-3-540-78724-2 }} If P is irreducible and positive recurrent then the stationary distribution is given by the solution to the equations
::
where e represents a vector of suitable dimension with all values equal to 1. Matching the structure of P, π is partitioned to π1, π2, π3, …. To compute these probabilities the column stochastic matrix G is computed such that
::
G is called the auxiliary matrix.{{Cite journal | last1 = Riska | first1 = A. | last2 = Smirni | first2 = E. | author2-link= Evgenia Smirni | doi = 10.1145/511399.511346 | title = Exact aggregate solutions for M/G/1-type Markov processes | journal = ACM SIGMETRICS Performance Evaluation Review | volume = 30 | pages = 86 | year = 2002 | citeseerx = 10.1.1.109.2225 }} Matrices are defined
::
\overline{A}_{i+1} &= \sum_{j=i+1}^\infty G^{j-i-1}A_j \\
\overline{B}_i &= \sum_{j=i}^\infty G^{j-i}B_j
\end{align}
::
\overline{B}_0 \pi_0 &= \pi_0\\
\quad \left(\mathbf e^{\text{T}} + \mathbf e^{\text{T}}\left(I - \sum_{i=1}^\infty \overline{A}_i\right)^{-1}\sum_{i=1}^\infty \overline{B}_i\right) \pi_0 &= 1
\end{align}
and the πi are given by Ramaswami's formula, a numerically stable relationship first published by Vaidyanathan Ramaswami in 1988.{{Cite journal | last1 = Ramaswami | first1 = V. | doi = 10.1080/15326348808807077 | title = A stable recursion for the steady state vector in markov chains of m/g/1 type | journal = Communications in Statistics. Stochastic Models | volume = 4 | pages = 183–188 | year = 1988 }}
::
Computation of ''G''
There are two popular iterative methods for computing G,{{Cite book | last1 = Bini | first1 = D. A. | last2 = Latouche | first2 = G. | last3 = Meini | first3 = B.|author3-link=Beatrice Meini | doi = 10.1093/acprof:oso/9780198527688.001.0001 | title = Numerical Methods for Structured Markov Chains | year = 2005 | isbn = 9780198527688 }}{{Cite journal | last1 = Meini | first1 = B. |author1-link=Beatrice Meini| doi = 10.1080/15326349808807483 | title = Solving m/g/l type markov chains: Recent advances and applications | journal = Communications in Statistics. Stochastic Models | volume = 14 | issue = 1–2 | pages = 479–496 | year = 1998 }}
- functional iterations
- cyclic reduction.