powered by
Pt is used to obtain the transient probability distribution of a homogeneous continuous time Markov chain at a point of time t.
Pt
PXt(X0, R, t, epsilon)
numeric vector, represents the probability distribution of the initial state.
numeric, represents the rate matrix of a CTMC. Default value is 0.
numeric, represents the length of time.
numeric, represents the error bound of the approximation of P(t). Default values is 0.01.
Ross, S, Introduction to Probability Models, Eleven Edition. Academic Press, 2014.
Kulkarni V, Introduction to modeling and analysis of stochastic systems. Second Edition. Springer-Verlag, 2011.
# NOT RUN { library(modesto) R <- matrix(c(0,2,0,3,0,1,0,6,0),3,3,byrow=TRUE) X0 <- c(1,0,0) PXt(X0,R,t=0.5,epsilon=0.01) # A three states CTMC example # }
Run the code above in your browser using DataLab