Learn R Programming

sstModel (version 1.0.0)

health: Constructing a Health Delta-Normal Term with Respect to healthRisk

Description

health is the constructor for the S3 class health. It allows to build for the sensitivities (understood as volatilities) for health insurance risks.

Usage

health(name, currency, sensitivity)

Arguments

name

character value. the names of the health risk factors. Note that no duplicated names should appear.

currency

character value. The currencies in which sensitivity are expressed.

sensitivity

positive numeric value. The sensitivities with respect for the corresponding risk-factors. Sensitivities must be expressed in the corresponding currency in the column currency. Nevertheless, it is forced at construction of a portfolio that the sensitivities should be provided in the portfolio base currency. Please note that the sensitivities are understood as volatilities for the the corresponding risks, we thus force the sensitivities to be strictly positive.

Value

An S3 object, instance of the class health.

See Also

summary.health, print.health.

Examples

Run this code
# NOT RUN {
# Creating a new health.
health1 <- health(name        = c("pandemy", "longetivity", "storno"),
                  currency    = c("EUR", "CHF", "EUR"),
                  sensitivity = c(100, 150, 130))

# }

Run the code above in your browser using DataLab