powered by
Pt is used to obtain the transition matrix of a homogeneous continuous time Markov chain for a period of time of t.
Pt
Pt(R, t, epsilon)
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) Pt(matrix(c(0,2,3,0),2,2,byrow=TRUE),t=0.7,epsilon=0.005) # A two states CTMC example # }
Run the code above in your browser using DataLab