Create a Markov-modulated Poisson Process(MMPP) model according to the given parameters: lambda0, c, q1, q2 and event times. If event time tau is missing, then it means that data will be added later(e.g. simulated)
pp_mmpp(lambda0, c, Q, events = NULL, delta = NULL)
lambda0 | parameters for Poisson process. |
---|---|
c | the proportion of intensity 1 over intensity 2 |
Q | transition probability matrix |
events | vector containing the event times. Note that the first event is often specified as zero. Alternatively, events could be specified as NULL, meaning that the data will be added later (e.g. simulated). |
delta | initial state probability. |
mmpp object
Q <- matrix(c(-0.4, 0.4, 0.2, -0.2), ncol = 2, byrow = TRUE) pp_mmpp(Q = Q, lambda0 = 1, c = 1.5, delta = c(1 / 3, 2 / 3))#> Markov Modulated Poisson Process #> lambda0 1 #> c 1.5 #> Q -0.4 0.2 0.4 -0.2 #> delta 0.3333333 0.6666667