Learn R Programming

matrixdist (version 1.1.3)

newState: New state in a Markov jump process

Description

Given a transition matrix Q, a uniform value u, and a previous state k, it returns the new state of a Markov jump process

Usage

newState(previousState, cumulatedEmbeddedMC, u)

Value

The next state of the Markov jump process

Arguments

previousState

Previous state of the Markov jump process

cumulatedEmbeddedMC

A transition matrix

u

A random value in (0,1)