powered by
The density of the sojourn time in state i with probability that
densityOfSojournTimeAtState_i(i, j, t, dt, m = c(0.2, 0.3), mMax = 14)
double
MC i-th state
MC j-th state
time value
time increment
distribution parameters vector of sojourn times in alternating environment states
max number of addends in sums
densityOfSojournTimeAtState_i(1, 0, 10, 1, m=c(1, 2), mMax=5)
Run the code above in your browser using DataLab