Learn R Programming

OpVaR (version 1.2)

Statistical Methods for Modelling Operational Risk

Description

Functions for computing the value-at-risk in compound Poisson models. The implementation comprises functions for modeling loss frequencies and loss severities with plain, mixed (Frigessi et al. (2012) ) or spliced distributions using Maximum Likelihood estimation and Bayesian approaches (Ergashev et al. (2013) ). In particular, the parametrization of tail distributions includes the fitting of Tukey-type distributions (Kuo and Headrick (2014) ). Furthermore, the package contains the modeling of bivariate dependencies between loss severities and frequencies, Monte Carlo simulation for total loss estimation as well as a closed-form approximation based on Degen (2010) to determine the value-at-risk.

Copy Link

Version

Install

install.packages('OpVaR')

Monthly Downloads

71

Version

1.2

License

GPL-3

Maintainer

Christina Zou

Last Published

September 8th, 2021

Functions in OpVaR (1.2)

fitThreshold

Threshold estimation for spliced distribution
buildPlainSevdist

Building a sevdist object with a plain distribution
buildFreqdist

Building a freqdist object
gh

Tukey's gh Distribution
fitSpliced

Estimation of the threshold, the body and the tail parameters for a spliced distribution
Mixing

Extended Dynamic Weighted Mixture Model
buildMixingSevdist

Building a dynamic mixture model as a sevdist object
gpd

Generalized Pareto Distribution
buildSplicedSevdist

Building a sevdist object with a spliced distribution
fitPlain

Fit plain distribution models
fitSplicedBestFit

Fitting a spliced distribution over a given data set
fitSplicedBayes

Parameter Estimation for Spliced Distributions
dsevdist

Evaluating Plain, Spliced or Mixing Severity Distributions
OpVaR-package

OpVaR
fitDependency

Function for fitting bivariate Copulas
lossdat

Example loss data set
goftest

Goodness of fit tests for severity distributions
sla

Single-Loss Approximation for Operational Value at Risk
qqplot.sevdist

Density plot and Q-Q plot for plain, mixing, and spliced distributions
mcSim

Monte Carlo Simulation from opriskmodel objects for total loss estimation
fitFreqdist

Fitting the frequency distribution
fitMixing

Maximum Likelihood Estimation
fitWeights

Fitting the weights of the body and the tail for a spliced distribution