ParaApp: Calculation of cumulative loss by parametric approximation.

Description Usage Arguments Value Examples

View source: R/ParaApp.R

Description

The prediction model is described in <Risk model: insurance loss prediction based on R>.

Usage

1
ParaApp(s, mu, sigma, k, method)

Arguments

s

The possible value of cumulative loss (numeric)

mu

The mean of cumulative loss (numeric)

sigma

The standard deviation of the cumulative loss (numeric)

k

The skewness coefficient of cumulative loss (numeric)

method

The method of parametric approximation (String)

Value

The probability that the cumulative loss is less than or equal to s (numeric)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
s <- 1000
mu <- 300
sigma <- sqrt(60000)
k <- 1.2247
Fs1 <- ParaApp(s,mu,sigma,k,method="normal")
Fs2 <- ParaApp(s,mu,sigma,k,method="Tgamma")
Fs3 <- ParaApp(s,mu,sigma,k,method="normal power")
Fs4 <- ParaApp(s,mu,sigma,k,method="Wilson Hilfery")

## End(Not run)

sunhfsc/SC19052 documentation built on Jan. 3, 2020, 9:19 p.m.