Simu.PDMP.DC: Simulation of a piecewise-deterministic Markov process with...

Description Usage Arguments Author(s) See Also Examples

View source: R/Simu.PDMP.DC.R

Description

This function computes a simulation of a particular piecewise-deterministic Markov process. The state space of the process is the set (1,2,3). This function is given for illustrating the function CondPdf.DC.interval.

Usage

1
Simu.PDMP.DC(x0,T,verbose)

Arguments

x0

origin of the process.

T

number of simulated jumps.

verbose

if TRUE, add a plot of the simulation.

Author(s)

Romain Azais

See Also

CondPdf.DC.interval

Examples

1

Example output

      [,1]      [,2]
 [1,]    1 1.2663193
 [2,]    1 0.1117120
 [3,]    1 0.8010804
 [4,]    1 0.6097893
 [5,]    1 1.2887508
 [6,]    1 1.2912656
 [7,]    1 1.9534070
 [8,]    1 0.7054588
 [9,]    1 1.0561408
[10,]    1 1.7800467
[11,]    1 1.6108103
[12,]    1 1.6106326
[13,]    1 0.7874032
[14,]    1 1.1231348
[15,]    1 1.1772260
[16,]    1 0.1959586
[17,]    1 1.2369003
[18,]    1 1.0624564
[19,]    1 1.0987820
[20,]    1 0.9731852
[21,]    1 1.4877713
[22,]    1 0.7996784
[23,]    1 1.0011993
[24,]    1 1.5580754
[25,]    1 2.2027990
[26,]    2 1.0520715
[27,]    2 0.1192712
[28,]    1 1.3832918
[29,]    1 0.9275762
[30,]    1 2.5433051
[31,]    3 0.7958569
[32,]    2 0.1955052
[33,]    1 1.2764479
[34,]    1 0.2382313
[35,]    1 1.5042775
[36,]    1 1.0051443
[37,]    1 1.0364523
[38,]    1 1.2795221
[39,]    1 0.1973096
[40,]    1 2.7599719
[41,]    2 0.0282168
[42,]    1 1.7400501
[43,]    1 1.1518282
[44,]    1 0.7096718
[45,]    1 0.8236024
[46,]    1 0.9559890
[47,]    1 0.2383761
[48,]    1 1.0752934
[49,]    1 1.4124279
[50,]    1 1.0841538
[51,]    1 0.0000000

EstSimPDMP documentation built on May 30, 2017, 7:27 a.m.