Learn R Programming

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

copBasic (version 1.5.4)

Basic Theoretical Copula, Empirical Copula, and Various Utility Functions

Description

This package implements extensive, but select, functions for copula computations and is used by several other packages by the author. This particular package provides the lower, upper, product, "PSP," and Plackett copulas. Plackett parameter estimation is provided. Expressions available for an arbitrary copula include the diagonal of a copula, the survival copula, the dual of a copula, and co-copula. Levels curves, such as for drawing, are available, through inverses of copulas. Sections (horizontal and vertical) and derivatives of these sections are supported. The numerical derivative for the derivative of a copula is provided as are inverses of these the numerical derivatives. Inverses of copula derivatives are important for random variate generation, which is provided using the conditional distribution method and the derivative of a copula. Composition of a single copula for two external parameters, composition of two copulas through use of two external parameters, and the composition of two copulas through the use of four external parameters is provided. Composite copula random variates can be generated---compositions generally yield asymmetric copulas. A data set is provided that contains darts thrown at the L-comoment space of a Plackett-Plackett composited copula; these data might be used for experimental copula estimation by the method of L-comoments. Measures of association through concordance include Kendall Tau, Spearman Rho, Gini Gamma, and Blomqvist Beta. Schweizer-Wolff Sigma is provided as a measure of dependency in contrast to the concordance measures. Upper- and lower-tail dependence is computed by numerical limit convergence. Whether a copula is left-tail decreasing or right-tail increasing also is provided. Quantile and median regression for V with respect to U and U with respect to V is available. Empirical copulas (EC) are supported and the computation of a data frame for each sample value also is provided. ECs are heavily dependent on a simple grid or matrix structure for which generation capability is provided. The derivatives of the EC grid, which are the conditional CDFs of copula sections, are computable. Also, the inverses of the derivatives, which are the conditional QDFs of copula sections are computable. Median and quantile regression of an EC is supported. Lastly, support for EC simulation of V conditional on U is provided.

Copy Link

Version

Install

install.packages('copBasic')

Monthly Downloads

523

Version

1.5.4

License

GPL

Maintainer

William Asquith

Last Published

May 10th, 2013

Functions in copBasic (1.5.4)

COPinv

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

The Bivariate Empirical Copula
EMPIRgrid

Grid of the Bivariate Emprical Copula
level.curvesCOP

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

Dataframe of the Bivariate Emprical Copula
PlackettPlackettABKGtest

Parameters and L-comoments of a Composition of Two Plackett Copulas
EMPIRsimv

Simulate an Empirical Copula For a Fixed Value of U
W

The Frechet-Hoeffding Lower Bound
composite2COP

Composition of Two Copulas
EMPIRmed.regress2

Derivatives of the Grid of the Bivariate Emprical Copula
PSP

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

The Copula
EMPIRqua.regress

Derivatives of the Grid of the Bivariate Emprical Copula
EMPIRmed.regress

Derivatives of the Grid of the Bivariate Emprical Copula
blomCOP

The Blomqvist's Beta of a 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
P

The Product (Independence) Copula
PLACKETTcop

The Plackett Copula
lcomoms2.ABcop2parameter

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

Extended Composition of Two Copulas
derCOP2

The Numeric Derivative of a 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
taildepCOP

The Upper and Lower Tail Dependency Parameters of a Copula
simcomposite3COP

Simulation of a Composited Copula
giniCOP

The Gini's Gamma of a Copula
tauCOP

The Kendall's Tau of a Copula
PLACKETTsim

Direct Simulation of a Plackett Copula
M

The Frechet-Hoeffding Upper Bound
isCOP.LTD

Is a Copula Left-Tail Decreasing
EMPIRgridder

Derivatives of the Grid of the Bivariate Emprical Copula
EMPIRgridderinv

Derivatives of the Grid of the Bivariate Emprical Copula
derCOPinv2

The Inverse of a Numeric Derivative for U with respect to V of a Copula
simCOPmicro

Simulate a V from an U through a Copula by Numerical Derivative Method
COPinv2

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

Parameters and L-comoments of a Composition of Two Plackett Copulas
EMPIRsim

Simulate an Empirical Copula
N4212cop

The Copula of Equation 4.2.12 of Nelson's Book
composite1COP

Composition of a Single Symmetric Copula
qua.regressCOP2

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

Estimate the Parameter of the Plackett Copula
simcompositeCOP

Simulation of a Composited Copula
coCOP

The Co-Copula
med.regressCOP2

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

The Spearman's Rho of a Copula
lcomoms2.ABKGcop2parameter

Convert L-comoments to Parameters of Compositions of Two 2-parameter Copulas
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
diagCOP

The Diagonals of a Copula
simCOP

Simulate a Copula by Numerical Derivative Method
surCOP

The Survival Copula
EMPIRqua.regress2

Derivatives of the Grid of the Bivariate Emprical Copula
EMPIRgridder2

Derivatives of the Grid of the Bivariate Emprical Copula
duCOP

The Dual of a Copula
wolfCOP

The Schweizer and Wolff's Sigma of a Copula
derCOP

The Numeric Derivative of a Copula
sectionCOP

The Sections or Derivative of Sections of a Copula
EMPIRgridderinv2

Derivatives of the Grid of the Bivariate Emprical Copula
derCOPinv

The Inverse of a Numeric Derivative for V with respect to U of a Copula
ReineckeWells

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