Description Usage Arguments Details Value Examples
Calculating expectation of sojourn times in states for the observed time and for given initial state, using eigenvalues and eigenvectors.
1 | Aver_soj_time(ii, tau_observed, Q)
|
ii |
number (scalar) |
tau_observed |
number (scalar), observed time |
Q |
Matrix (m x m), m - number of states |
Calculating expectation of sojourn times in states for the observed time (tau_observed) and if initial state is given (ii). Matrix Q is so-called Generator matrix: Q=λ-Λ, where λ is matrix with known transition rates from state $s_i$ to state $s_j$, and Λ is diagonal matrix with a vector (Λ_{1},...,Λ_{m} on the main diagonal, where m is a number of states of external environment. Eigenvalues and eigenvectors are used in calculations.
Vector of average sojourn times in each state. Vector components in total should give observation time (tau_observed).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.