Learn R Programming

cascsim (version 0.4)

dtbeta: Density function of Truncated Beta Distribution

Description

Density function of Truncated Beta Distribution

Cumulative probability function of Truncated Beta Distribution

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

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

Usage

dtbeta(x, shape1, shape2, ncp = 0, min = 0, max = 1)

ptbeta(q, shape1, shape2, ncp = 0, min = 0, max = 1)

qtbeta(p, shape1, shape2, ncp = 0, min = 0, max = 1)

rtbeta(n, shape1, shape2, ncp = 0, min = 0, max = 1)

Arguments

x

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

shape1

distribution parameter

shape2

distribution parameter

ncp

non-centrality parameter (Default: 0)

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 {
dtbeta(0.6,1,2)
ptbeta(0.5,1,2)
qtbeta(0.5,1,2)
rtbeta(100,1,2)
# }

Run the code above in your browser using DataLab