Risk: Calculating for given rates of return the value at risk and...

View source: R/Risk.R View source: R/Risk.R

RiskR Documentation

Calculating for given rates of return the value at risk and the expected loss using the historical method.

Description

Calculating for given rates of return the value at risk and the expected loss using the historical method.

Usage

Risk(data, time)

Arguments

data

A dataframe object with column dailyReturnRate

time

A number of time window.

Value

A data frame with calculated VaR and ES

Examples

#data("returnRateEUR")
#Risk(returnRateEUR, 200)

anova97/Risk-Package documentation built on March 19, 2022, 3:37 a.m.