Description Usage Arguments Details Value References See Also Examples
This function calculates the stationary distribution of the transition matrix of a Markov chain process and its spectral gap.
1 | SpecGap(P)
|
P |
Matrix. It must be a markovian matrix. |
The spectral gap of a matrix P measures the convergence speed of P to a matrix P_I with all the rows equal to (π_1,π_2,... π_k), the stationary distribution of P. It takes values in [0,1].
The spectral gap of a transition matrix can be used as a dependence measure between the marginal processes defined by a marked Poisson procces with discrete marks generated by a Markov chain with that transition matrix, see Cebrian et al (2020) for details.
A list with elements
SG |
Spectral gap value of the matrix. |
pi |
Vector of the stationary distribution of the matrix. |
Cebrian, A.C., Abaurrea, J. and Asin, J. (2020). Testing independence between two point processes in time. Journal of Simulation and Computational Statistics.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.