tgeom: Density function of Truncated Geometric Distribution

Description Usage Arguments Examples

Description

Density function of Truncated Geometric Distribution

Cumulative probability function of Truncated Geometric Distribution

Quantile function of Truncated Geometric Distribution max(0,min(claim,limit)-deductible)

Random generation of Truncated Geometric Distribution max(0,min(claim,limit)-deductible)

Usage

1
2
3
4
5
6
7
dtgeom(x, prob, min = 0, max = 1e+09)

ptgeom(q, prob, min = 0, max = 1e+09)

qtgeom(p, prob, min = 0, max = 1e+09)

rtgeom(n, prob, min = 0, max = 1e+09)

Arguments

x

Value of the variable after deductible and limit max(0,min(claim,limit)-deductible)

prob

Distribution parameter

min

Left truncation deductible

max

Right truncation limit

q

Value of the variable after deductible and limit max(0,min(claim,limit)-deductible)

p

Value of the probability

n

Number of samples

Examples

1
2
3
4
dtgeom(3,0.3)
ptgeom(3,0.3)
qtgeom(0.7,0.3)
rtgeom(100,0.3)

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