Probability matrix calculation. Rows represent arriving probabilities at state i and columns represent the same for state j
probabilitiesMatrix(
i,
j,
m = c(0.2, 0.3),
lambda = c(1, 2),
tmax = 12,
nmax = 5
)
matrix with nmax
rows and columns
MC i-th state
MC j-th state
distribution parameters vector of sojourn times in alternating environment states
Poisson flow intensity vector
upper integration limit
limitation for number of arriving claims