Learn R Programming

Risk (version 1.0)

varg: Value At Risk

Description

Computes value at risk for a given ditribution

Usage

varg(spec, alpha, ...)

Arguments

spec

a character string specifying the distribution (for example, "norm" corresponds to the standard normal)

alpha

the probabilities associated with values at risk

...

other parameters

Value

An object of the same length as alpha, giving values at risk computed.

References

S. Chan and S. Nadarajah, Risk: An R package for risk measures, submitted