simP0: Simulate whether claims will have zero payment.

Description Usage Arguments Examples

View source: R/Common.R

Description

Simulate whether claims will have zero payment.

Usage

1
simP0(devYear, zeroProb)

Arguments

devYear

Development Year. It could be a number or a numeric vector.

zeroProb

A vector that contains the probability of zero payment based on development year.

Examples

1
2
zeroprob<-c(0.02,0.01,0.005,0.005,0.003,0)
simP0(rep(2,1000),zeroprob)

cascsim documentation built on Jan. 13, 2020, 5:07 p.m.