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

Description Usage Arguments Value Note See Also Examples

View source: R/health-base.R

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

1
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.

Note

All parameters must be of equal length.

See Also

summary.health, print.health.

Examples

1
2
3
4
# Creating a new health.
health1 <- health(name        = c("pandemy", "longetivity", "storno"),
                  currency    = c("EUR", "CHF", "EUR"),
                  sensitivity = c(100, 150, 130))

sstModel documentation built on May 4, 2018, 1:04 a.m.