Learn R Programming

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

copBasic (version 1.6.0)

Basic Theoretical Copula, Empirical Copula, and Various Utility Functions

Description

The package implements extensive functions for copula computations and related mathematical operations oriented around the oft cited and fundamental copula theory described by Nelson (2006). The lower (W), upper (M), product (P), PSP, and Plackett (with parameter estimation) copulas are provided. 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, and co-copula. 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, and thus functions for copula simulation also 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) composite copula random variates. Characteristics of copulas include Kendall Tau, Spearman Rho, Gini Gamma, Blomqvist Beta, and Schweizer-Wolff Sigma. Logical evaluators of positively/negatively quadrant dependency, left-tail decreasing, and right-tail increasing also 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

752

Version

1.6.0

License

GPL-2

Maintainer

William Asquith

Last Published

September 26th, 2014

Functions in copBasic (1.6.0)

EMPIRsim

Simulate a Bivariate Empirical Copula
EMPIRqua.regress2

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

Composition of a Single Symmetric Copula with Two Compositing Parameters
PlackettPlackettABKGtest

Parameters and L-comoments of a Composition of Two Plackett Copulas with Four Compositing Parameters
EMPIRmed.regress

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

Numerical Derivative Inverse of a Copula for V with respect to U
EMPIRmed.regress2

Median Regression of the Grid of the Bivariate Emprical Copula for U with respect to V
lcomoms2.ABcop2parameter

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

Grid of the Bivariate Emprical Copula
EMPIRsimv

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

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

The Diagonals of a Copula
blomCOP

The Blomqvist's Beta of a Copula
coCOP

The Co-Copula Function
rhoCOP

The Spearman's Rho of a Copula
composite3COP

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

Derivatives of the Grid of the Bivariate Emprical Copula for U with respect to V
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
isCOP.RTI

Is a Copula Right-Tail Increasing
simCOP

Simulate a Copula by Numerical Derivative Method
surfuncCOP

The Joint Survival Function
ReineckeWell266

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

The Bivariate Empirical Copula
EMPIRgridder

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

Simulation of a Composited Copula
med.regressCOP2

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

Direct Simulation of a Plackett Copula
derCOP

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

Dataframe of the Bivariate Emprical Copula
isCOP.LTD

Is a Copula Left-Tail Decreasing
copBasic-package

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

The Frechet-Hoeffding Upper Bound Copula
isCOP.radsym

Is a Copula Radially Symmetric
PLACKETTcop

The Plackett Copula
derCOP2

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

Simulation of a Composited Copula
sectionCOP

The Sections or Derivative of the Sections of a Copula
simCOPmicro

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

The Hoeffding's Phi of a Copula
COP

The Copula
med.regressCOP

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

The Gini's Gamma of a Copula
P

The Product (Independence) Copula
N4212cop

The Copula of Equation 4.2.12 of Nelson's Book
ReineckeWells

Porosity and Permeability Data for the Reinecke Oil Field, Horseshoe Atoll, Texas
PSP

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

The Kendall's Tau of a Copula
EMPIRgridderinv

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

The Dual of a Copula Function
level.setCOP2

Compute a Level Set of a Copula U with respect to V
qua.regressCOP2

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

The Positively Quadrant Dependency State of a Copula
PlackettPlackettNP

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

Composition of Two Copulas with Two Compositing Parameters
derCOPinv2

Numerical Derivative Inverse of a Copula for U with respect to V
qua.regressCOP

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

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

Estimate the Parameter of the Plackett Copula
lcomoms2.ABKGcop2parameter

Convert L-comoments to Parameters of Compositions of Two 2-parameter Copulas
level.setCOP

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

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

Derivative Inverses of the Grid of the Bivariate Emprical Copula for U with respect to V
level.curvesCOP

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

The Schweizer and Wolff's Sigma of a Copula
taildepCOP

The Lower- and Upper-Tail Dependency Parameters of a Copula
level.curvesCOP2

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

The Frechet-Hoeffding Lower Bound Copula
COPinv

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

Compute a Copula on a Grid
surCOP

The Survival Copula