Learn R Programming

cascsim (version 0.4)

dtweibull: Density function of Truncated Weibull Distribution

Description

Density function of Truncated Weibull Distribution

Cumulative probability function of Truncated Weibull Distribution

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

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

Usage

dtweibull(x, shape, scale, min = 0, max = 1e+09)

ptweibull(q, shape, scale, min = 0, max = 1e+09)

qtweibull(p, shape, scale, min = 0, max = 1e+09)

rtweibull(n, shape, scale, min = 0, max = 1e+09)

Arguments

x

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

shape

Shape parameter

scale

Scale 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

Run this code
# NOT RUN {
dtweibull(2.5,2,3)
ptweibull(2.5,2,3)
qtweibull(0.5,2,3)
rtweibull(100,2,3)
# }

Run the code above in your browser using DataLab