Learn R Programming

sdprisk (version 1.0-3)

claiminfo: Distribution Information about Individual Claim Amounts

Description

Creates or tests for claim information objects.

Usage

claiminfo(...)
is.claiminfo(x)
is.hypoexp(x)

Arguments

x
An Robject
...
various objects determining the individual claim amount distribution. Refer to the details section.

Value

  • claiminfo returns an object of the class "claiminfo" (see details section).

    is.claiminfo returns TRUE if x is a "claiminfo" object, and FALSE otherwise.

    is.hypoexp returns TRUE if x is a "claiminfo" object describing hypo-exponentially distributed individual claim amounts (see dhypoexp), and FALSE otherwise. If x is a riskproc object, the function is applied to the "claiminfo" object contained within it.

Details

Typicall usages are: claiminfo(mgf, mgf.d1, mgf.d2, pdf, cdf, mean)

To be completed.

See Also

riskproc

Examples

Run this code
## For hypo-exponentially distribution claim amounts
claiminfo(hypoexp = list(rates = c(1, 10)))

## A more complicated example
claiminfo()

Run the code above in your browser using DataLab