Simulate_Losses: Simulate Losses with a Collective Model

Description Usage Arguments Value Examples

View source: R/CollectiveModelMethods.R

Description

Simulates losses with a collective model

Usage

1
Simulate_Losses(CollectiveModel, nyears = 1)

Arguments

CollectiveModel

A collective model object. Currently only PPP_Models are handled.

nyears

Integer. Number of simulated years.

Value

A matrix where row k contains the simulated losses of the kth simulated year.

Examples

1
2
3
4
PPPM <- PiecewisePareto_Match_Layer_Losses(c(1000, 2000, 3000), c(2000, 1000, 500),
                                           truncation = 10000, truncation_type = "wd")
PPPM
Simulate_Losses(PPPM, 100)

Pareto documentation built on March 3, 2021, 5:07 p.m.