Learn R Programming

⚠️There's a newer version (2.2.11) of this package.Take me there.

copBasic (version 1.7.0)

General Copula Theory and Many Utility Functions

Description

Extensive functions for copula computations and related mathematical operations are given that are oriented around the oft cited and fundamental copula theory described by Nelsen (2006), Joe (2015), and other selected works. The lower, upper, product, and select other copulas are implemented. Individual copula functional support is intentionally limited to keep the package focused on an API to general copula theory. Expressions available for an arbitrary copula include the diagonal of a copula, the survival copula, the dual of a copula, co-copula, and numerical copula density. Level curves (sets) are available. Horizontal and vertical copula sections and derivatives of such sections also are supported. The numerical derivatives of a copula are provided as well as inverses; functions for copula simulation thus are supported. Composition of copulas is provided: (1) composition of a single copula using two composition parameters, (2) composition of two copulas using two composition parameters, (3) composition of two copulas using four composition parameters, and (4) random variates of composited copulas. Characteristics of copulas include Kendall Tau, Spearman Rho, Gini Gamma, Blomqvist Beta, and Schweizer-Wolff Sigma, tail dependency, and tail order. Logical evaluators of positively/negatively quadrant dependency, left-tail decreasing, and right-tail increasing also are available. The Kullback-Leibler divergence and Vuong's Procedure to support inference are available. Quantile and median regression for V with respect to U and U with respect to V is available. Empirical copulas (EC) are supported. ECs are dependent on gridded data structures for which generation capability is provided. The derivatives of the EC grid are computable. Also, the inverses of the derivatives, which are the conditional QDFs of copula sections also are computable. Median and quantile regression of an EC also is supported along with support for EC simulation of V conditional on U.

Copy Link

Version

Install

install.packages('copBasic')

Monthly Downloads

523

Version

1.7.0

License

GPL-2

Maintainer

William Asquith

Last Published

January 3rd, 2015

Functions in copBasic (1.7.0)

PlackettPlackettABKGtest

Parameters and L-comoments of a Composition of Two Plackett Copulas with Four Compositing Parameters
M

The Fréchet{Frechet}-Hoeffding Upper Bound Copula
isCOP.radsym

Is a Copula Radially Symmetric
surCOP

The Survival Copula
level.setCOP2

Compute a Level Set of a Copula U with respect to V
level.curvesCOP2

Compute and Plot Level Curves of a Copula U with respect to V
sectionCOP

The Sections or Derivative of the Sections of a Copula
gridCOP

Compute a Copula on a Grid
EMPIRcopdf

Dataframe of the Bivariate Emprical Copula
composite3COP

(Extended) Composition of Two Copulas with Four Compositing Parameters
EMPIRqua.regress

Quantile Regression of the Grid of the Bivariate Emprical Copula for V with respect to U
PlackettPlackettNP

Parameters and L-comoments of a Composition of Two Plackett Copulas with Two Compositing Parameters
qua.regressCOP.draw

Draw Quantile Regressions using a Copula by Numerical Derivative Method for V with respect to U or U with respect to V
COP

The Copula
EMPIRgridderinv2

Derivative Inverses of the Grid of the Bivariate Emprical Copula for U with respect to V
lcomCOPpv

Simulating the Sample Distribution(s) of L-correlation, L-coskew, and L-cokurtosis for a Copula
level.curvesCOP

Compute and Plot Level Curves of a Copula V with respect to U
qua.regressCOP

Perform Quantile Regression using a Copula by Numerical Derivative Method for V with respect to U
wolfCOP

The Schweizer and Wolff's Sigma of a Copula
isCOP.permsym

Is a Copula Permutation Symmetric
ReineckeWells

Porosity and Permeability Data for the Reinecke Oil Field, Horseshoe Atoll, Texas
isCOP.PQD

The Positively Quadrant Dependency State of a Copula
simcompositeCOP

Simulation of a Composited Copula
GHcop

The Gumbel-Hougaard Copula
tailordCOP

The Lower- and Upper-Tail Orders of a Copula
densityCOPplot

Contour Density Plot of a Copula
PLACKETTpar

Estimate the Parameter of the Plackett Copula
EMPIRsim

Simulate a Bivariate Empirical Copula
vuongCOP

Vuong's Procedure for Parametric Copula Comparison
duCOP

The Dual of a Copula Function
uvlmoms

Bivariate Skewness after Joe (2015) or the Univariate L-moments of Combined U and V
semicorCOP

The Lower and Upper Semi-Correlations of a Copula
EMPIRgrid

Grid of the Bivariate Emprical Copula
derCOP2

Numerical Derivative of a Copula for U with respect to V
lcomoms2.ABKGcop2parameter

Convert L-comoments to Parameters of Compositions of Two 2-parameter Copulas
PLACKETTcop

The Plackett Copula
ReineckeWell266

Porosity and Permeability Data for Well-266 of the Reinecke Oil Field, Horseshoe Atoll, Texas
coCOP

The Co-Copula Function
densityCOP

Density of a Copula
med.regressCOP

Perform Median Regression using a Copula by Numerical Derivative Method for V with respect to U
COPinv2

The Inverse of a Copula for U with respect to V
derCOPinv

Numerical Derivative Inverse of a Copula for V with respect to U
isCOP.RTI

Is a Copula Right-Tail Increasing
lcomoms2.ABcop2parameter

Convert L-comoments to Parameters of Compositions of Two 2-parameter Copulas
EMPIRmed.regress

Median Regression of the Grid of the Bivariate Emprical Copula for V with respect to U
rhoCOP

The Spearman's Rho of a Copula
FRECHETcop

The Fréchet{Frechet} Family Copula
W

The Fréchet{Frechet}-Hoeffding Lower Bound Copula
EMPIRgridder2

Derivatives of the Grid of the Bivariate Emprical Copula for U with respect to V
blomCOP

The Blomqvist's Beta of a Copula
derCOPinv2

Numerical Derivative Inverse of a Copula for U with respect to V
PSP

The ratio of the Product Copula to Summation minus Product Copula
diagCOPatf

Numerical Rooting the Diagonal of a Copula
med.regressCOP2

Perform Median Regression using a Copula by Numerical Derivative Method for U with respect to V
derCOP

Numerical Derivative of a Copula for V with respect to U
level.setCOP

Compute a Level Set of a Copula V with respect to U
N4212cop

The Copula of Equation 4.2.12 of Nelsen's Book
EMPIRcop

The Bivariate Empirical Copula
isCOP.LTD

Is a Copula Left-Tail Decreasing
P

The Product (Independence) Copula
PLACKETTsim

Direct Simulation of a Plackett Copula
COPinv

The Inverse of a Copula for V with respect to U
surfuncCOP

The Joint Survival Function
hoefCOP

The Hoeffding's Phi of a Copula or Lp Distances (Independence, Radial Asymmetry, or Reflection Symmetry Forms)
asCOP

A Wrapper on a User-Level Formula to Become a Copula Function
taildepCOP

The Lower- and Upper-Tail Dependency Parameters of a Copula
diagCOP

The Diagonals of a Copula
kullCOP

Kullback-Leibler Divergence, Jeffrey's Divergence, and Kullback-Leibler Sample Size
EMPIRqua.regress2

Quantile Regression of the Grid of the Bivariate Emprical Copula for U with respect to V
simCOPmicro

Simulate V from U through a Copula by Numerical Derivative Method
qua.regressCOP2

Perform Quantile Regression using a Copula by Numerical Derivative Method for U with respect to V
simcomposite3COP

Simulation of a Composited Copula
composite2COP

Composition of Two Copulas with Two Compositing Parameters
composite1COP

Composition of a Single Symmetric Copula with Two Compositing Parameters
EMPIRgridderinv

Derivative Inverses of the Grid of the Bivariate Emprical Copula for V with respect to U
EMPIRgridder

Derivatives of the Grid of the Bivariate Emprical Copula for V with respect to U
EMPIRsimv

Simulate a Bivariate Empirical Copula For a Fixed Value of U
simCOP

Simulate a Copula by Numerical Derivative Method
EMPIRmed.regress2

Median Regression of the Grid of the Bivariate Emprical Copula for U with respect to V
copBasic-package

Basic Theoretical Copula, Empirical Copula, and Various Utility Functions
tauCOP

The Kendall's Tau of a Copula
giniCOP

The Gini's Gamma of a Copula