Learn R Programming

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

copBasic (version 1.7.1)

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

568

Version

1.7.1

License

GPL-2

Maintainer

William Asquith

Last Published

January 30th, 2015

Functions in copBasic (1.7.1)

sectionCOP

The Sections or Derivative of the Sections of a Copula
ReineckeWell266

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

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

Grid of the Bivariate Emprical Copula
gridCOP

Compute a Copula on a Grid
FRECHETcop

The Fréchet{Frechet} Family Copula
W

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

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

The Copula of Equation 4.2.12 of Nelsen's Book
EMPIRqua.regress2

Quantile Regression of the Grid of the Bivariate Emprical Copula for U with respect to V
qua.regressCOP2

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

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

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

A Wrapper on a User-Level Formula to Become a Copula Function
EMPIRmed.regress

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

Simulate a Copula by Numerical Derivative Method
ReineckeWells

Porosity and Permeability Data for the Reinecke Oil Field, Horseshoe Atoll, Texas
level.setCOP2

Compute a Level Set of a Copula U with respect to V
EMPIRqua.regress

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

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

The Dual of a Copula Function
EMPIRgridderinv2

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

Dataframe of the Bivariate Emprical Copula
qua.regressCOP

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

Is a Copula Right-Tail Increasing
giniCOP

The Gini's Gamma of a Copula
isCOP.LTD

Is a Copula Left-Tail Decreasing
isCOP.radsym

Is a Copula Radially Symmetric
lcomCOPpv

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

Simulate a Bivariate Empirical Copula
diagCOP

The Diagonals of a Copula
densityCOP

Density of a Copula
M

The Fréchet{Frechet}-Hoeffding Upper Bound Copula
wolfCOP

The Schweizer and Wolff's Sigma of a Copula
EMPIRgridder

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

Kullback-Leibler Divergence, Jeffrey's Divergence, and Kullback-Leibler Sample Size
densityCOPplot

Contour Density Plot of a Copula
semicorCOP

The Lower and Upper Semi-Correlations of a Copula
PLACKETTcop

The Plackett Copula
isCOP.permsym

Is a Copula Permutation Symmetric
PLACKETTpar

Estimate the Parameter of the Plackett Copula
PLACKETTsim

Direct Simulation of a Plackett Copula
vuongCOP

Vuong's Procedure for Parametric Copula Comparison
COPinv

The Inverse of a Copula for V with respect to U
level.setCOP

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

The Bivariate Empirical Copula
lcomoms2.ABcop2parameter

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

Simulation of a Composited Copula
PSP

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

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

The Joint Survival Function
EMPIRsimv

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

The Co-Copula Function
isCOP.PQD

The Positively Quadrant Dependency State 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
derCOPinv

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

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

The Spearman's Rho of a Copula
blomCOP

The Blomqvist's Beta of a Copula
P

The Product (Independence) Copula
tauCOP

The Kendall's Tau of a Copula
lcomoms2.ABKGcop2parameter

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

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

Numerical Rooting the Diagonal of a Copula
derCOPinv2

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

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

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

The Copula
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
surCOP

The Survival Copula
hoefCOP

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

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

Composition of a Single Symmetric Copula with Two Compositing Parameters
composite2COP

Composition of Two Copulas with Two Compositing Parameters
EMPIRmed.regress2

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

(Extended) Composition of Two Copulas with Four Compositing Parameters
taildepCOP

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

Simulate V from U through a Copula by Numerical Derivative Method
simcompositeCOP

Simulation of a Composited Copula
GHcop

The Gumbel-Hougaard Copula
uvlmoms

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