powered by
Mean sojourn time in the initial state i jointly with final probability of state j
meanSojournTimeWithFSP(i, j, t, m = c(0.2, 0.3))
double
MC i-th state
MC j-th state
time value
distribution parameters vector of sojourn times in alternating environment states
meanSojournTimeWithFSP(1, 0, 3)
Run the code above in your browser using DataLab