simP0: Simulate whether claims will have zero payment.

View source: R/Common.R

simP0R Documentation

Simulate whether claims will have zero payment.

Description

Simulate whether claims will have zero payment.

Usage

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

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

casact/cascsim documentation built on Nov. 12, 2022, 11:53 p.m.