powered by
Density function of Truncated Negative Binomial Distribution
Cumulative probability function of Truncated Negative Binomial Distribution
Quantile function of Truncated Negative Binomial Distribution max(0,min(claim,limit)-deductible)
Random generation of Truncated Negative Binomial Distribution max(0,min(claim,limit)-deductible)
dtnbinom(x, size, prob, min = 0, max = 1e+09)ptnbinom(q, size, prob, min = 0, max = 1e+09)qtnbinom(p, size, prob, min = 0, max = 1e+09)rtnbinom(n, size, prob, min = 0, max = 1e+09)
ptnbinom(q, size, prob, min = 0, max = 1e+09)
qtnbinom(p, size, prob, min = 0, max = 1e+09)
rtnbinom(n, size, prob, min = 0, max = 1e+09)
Value of the variable after deductible and limit max(0,min(claim,limit)-deductible)
Number of successful trials
Probability of success in each trial
Left truncation deductible
Right truncation limit
Value of the probability
Number of samples
# NOT RUN { dtnbinom(230,100,0.3) ptnbinom(230,100,0.3) qtnbinom(0.5,100,0.3) rtnbinom(500,100,0.3) # }
Run the code above in your browser using DataLab