Learn R Programming

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

copBasic (version 2.0.1)

General Bivariate Copula Theory and Many Utility Functions

Description

Extensive functions for bivariate copula (bicopula) computations and related mathematical operations oriented around the oft cited and fundamental bicopula theory described by Nelsen (2006), Joe (2014), and other selected works. The lower, upper, product, and a few select other bicopula are implemented. Individual copula support is deliberately limited to keep the package focused on an educational API to major bicopula theory. Expressions for an arbitrary bicopula include the diagonal, survival copula, the dual of a copula, co-copula, and numerical bicopula density. Level curves (sets) as well as horizontal and vertical sections and derivatives of such sections also are supported. The numerical derivatives of a bicopula are provided as well as inverses; simulation by the conditional distribution method thus are supported. Composition, convex combination, and products of bicopula are provided. Copula properties include Kendall Function and L-moments thereof, Kendall Tau, Spearman Rho and Footrule, Gini Gamma, Blomqvist Beta, Hoeffding Phi, Schweizer-Wolff Sigma, tail dependency and order, and skewness. Evaluators of positively/negatively quadrant dependency, left-tail decreasing, and right-tail increasing are available. Kullback-Leibler divergence, Vuong's procedure, and L-comoments for copula inference are available. Quantile and median regressions for V with respect to U and U with respect to V are available. Empirical copulas (EC) are supported.

Copy Link

Version

Install

install.packages('copBasic')

Monthly Downloads

568

Version

2.0.1

License

GPL-2

Maintainer

William Asquith

Last Published

August 31st, 2015

Functions in copBasic (2.0.1)

med.regressCOP2

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

The Fréchet{Frechet} Family Copula
EMPIRgridderinv2

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

The Copula of Equation 4.2.12 of Nelsen's Book
statTn

The Tn Statistic of a Fitted Copula to the Empirical Copula
HRcop

The Hüsler{Husler}-Reiss Extreme Value Copula
asCOP

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

The Sections or Derivative of the Sections of a Copula
simCOP

Simulate a Copula by Numerical Derivative Method
EMPIRsim

Simulate a Bivariate Empirical Copula
EMPIRgridder2

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

The Product (Independence) Copula
PlackettPlackettABKGtest

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

Parameters and L-comoments of a Composition of Two Plackett Copulas with Two Compositing Parameters
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
level.setCOP

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

The Fréchet{Frechet}-Hoeffding Lower Bound Copula
level.curvesCOP2

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

The Dual of a Copula Function
PARETOcop

The Pareto Copula
isfuncCOP

Is a General Bivariate Function a Copula by Gridded Search?
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
EMPIRsimv

Simulate a Bivariate Empirical Copula For a Fixed Value of U
copBasic-package

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

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

Compute a Copula on a Grid
GHcop

The Gumbel-Hougaard Extreme Copula
uvlmoms

Bivariate Skewness after Joe (2014) or the Univariate L-moments of Combined U and V
med.regressCOP

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

Derivatives of the Grid of the Bivariate Emprical Copula for V with respect to U
EMPIRqua.regress

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

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

The L-moments of the Kendall Function of a Copula
qua.regressCOP2

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

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

Grid of the Bivariate Emprical Copula
PSP

The Ratio of the Product Copula to Summation minus Product Copula
COP

The Copula
M

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

The Galambos Extreme Value Copula
EMPIRmed.regress2

Median Regression of the Grid of the Bivariate Emprical Copula for U with respect to V
joint.curvesCOP

Compute Coordinates of the Marginal Probabilities given joint AND or OR Probabilities
lcomCOPpv

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

The Product of Two Copulas
coCOP

The Co-Copula Function
surfuncCOP

The Joint Survival Function
jointCOP

Compute Equal Marginal Probabilities Given a Single Joint AND or OR Probability for a Copula
surCOP

The Survival Copula
joint.curvesCOP2

Compute Coordinates of the Marginal Probabilities given joint AND or OR Probability
EMPIRmed.regress

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

Dataframe of the Bivariate Emprical Copula
rhoCOP

The Spearman's Rho of a Copula
kfuncCOPinv

The Inverse Kendall Function of a Copula
diagCOP

The Diagonals of a Copula
tailconCOP

The Tail Concentration Function of a Copula
isCOP.LTD

Is a Copula Left-Tail Decreasing
giniCOP

The Gini's Gamma of a Copula
joeskewCOP

The Joe's Nu-Skew or Nu-Skew-Star of a Copula
isCOP.RTI

Is a Copula Right-Tail Increasing
diagCOPatf

Numerical Rooting the Diagonal of a Copula
blomCOP

The Blomqvist's Beta of a Copula
isCOP.PQD

The Positively Quadrant Dependency State of a Copula
copBasic.fitpara

A Single or Multi-Parameter Optimization Engine (Beta Version)
PLACKETTpar

Estimate the Parameter of the Plackett Copula
EMPIRcop

The Bivariate Empirical Copula
kfuncCOP

The Kendall (Distribution) Function of a Copula
hoefCOP

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

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

The Spearman's Footrule of a Copula
densityCOPplot

Contour Density Plot of a Copula
densityCOP

Density of a Copula
kullCOP

Kullback-Leibler Divergence, Jeffrey's Divergence, and Kullback-Leibler Sample Size
isCOP.permsym

Is a Copula Permutation Symmetric
isCOP.radsym

Is a Copula Radially Symmetric
level.curvesCOP

Compute and Plot Level Curves of a Copula V with respect to U
lcomoms2.ABcop2parameter

Convert L-comoments to Parameters of Alpha-Beta Compositions of Two One-Parameter Copulas
simcompositeCOP

Compute the L-comoments of a Two-Value Composited Copula by Numerical Simulation
lcomoms2.ABKGcop2parameter

Convert L-comoments to Parameters of Alpha-Beta-Kappa-Gamma Compositions of Two One-Parameter Copulas
simcomposite3COP

Compute the L-comoments of a Four-Value Composited Copula by Numerical Simulation
convex2COP

Convex Combination of Two Copulas
vuongCOP

Vuong's Procedure for Parametric Copula Comparison
COPinv

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

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

The Lower and Upper Semi-Correlations of a Copula
tailordCOP

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

The Kendall's Tau and Concordance Function of a Copula
derCOPinv

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

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

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

Numerical Derivative of a Copula for U with respect to V
PLACKETTsim

Direct Simulation of a Plackett Copula
taildepCOP

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

A Dependence Measure for a Bivariate Extreme Value Copula based on the Expectation of the Product of Negated Log-Transformed Random Variables U and V
composite2COP

Composition of Two Copulas with Two Compositing Parameters
composite1COP

Composition of a Single Symmetric Copula with Two Compositing Parameters
ReineckeWell266

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

The Schweizer and Wolff's Sigma of a Copula
simCOPmicro

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

The Plackett Copula