| PathSparreAndersen-class {ruin} | R Documentation |
A formal S4 class PathSparreAndersen
Description
A formal S4 class to contain a simulated path of SparreAndersen model.
Details
Objects of the class must not be created manually. Instead, objects of this
class are returned by simulate_path.
Slots
modelan object of CramerLundberg class.
patha numeric matrix of columns
"time"and"X"defining the simulated path represented by pairs time-value.claim_sizesa numeric vector of claims' sizes.
claim_arrival_timesa numeric vector of claims' interarrival times.
time_horizona numeric vector of the maximum time horizon achieved.
is_ruineda logical vector indicating whether the process is ruined.
elapsed_timea numeric vector of the elapsed simulation time in seconds.
max_time_horizona numeric vector of the maximum time horizon allowed.
max_simulation_timea numeric vector of the maximum simulation time in seconds.
seeda numeric vector indicating the seed used for simulation.
See Also
SparreAndersen (class definition),
SparreAndersen (constructor).