Learn R Programming

MG1StationaryProbability (version 0.1.2)

densityOfSojournTimeAtState_i: The density of the sojourn time in state i with probability that

Description

The density of the sojourn time in state i with probability that

Usage

densityOfSojournTimeAtState_i(i, j, t, dt, m = c(0.2, 0.3), mMax = 14)

Value

double

Arguments

i

MC i-th state

j

MC j-th state

t

time value

dt

time increment

m

distribution parameters vector of sojourn times in alternating environment states

mMax

max number of addends in sums

Examples

Run this code
densityOfSojournTimeAtState_i(1, 0, 10, 1, m=c(1, 2), mMax=5)

Run the code above in your browser using DataLab