Learn R Programming

copBasic (version 2.2.6)

General Bivariate Copula Theory and Many Utility Functions

Description

Extensive functions for bivariate copula (bicopula) computations and related operations for bicopula theory. The lower, upper, product, and select other bicopula are implemented along with operations including the diagonal, survival copula, dual of a copula, co-copula, and numerical bicopula density. Level sets, horizontal and vertical sections are supported. Numerical derivatives and inverses of a bicopula are provided through which simulation is implemented. Bicopula composition, convex combination, asymmetry extension, and products also are provided. Support extends to the Kendall Function as well as the Lmoments thereof. Kendall Tau, Spearman Rho and Footrule, Gini Gamma, Blomqvist Beta, Hoeffding Phi, Schweizer- Wolff Sigma, tail dependency, tail order, skewness, and bivariate Lmoments are implemented, and positive/negative quadrant dependency, left (right) increasing (decreasing) are available. Other features include Kullback-Leibler Divergence, Vuong Procedure, spectral measure, and Lcomoments for inference, maximum likelihood, and AIC, BIC, and RMSE for goodness-of-fit.

Copy Link

Version

Install

install.packages('copBasic')

Monthly Downloads

832

Version

2.2.6

License

GPL-2

Maintainer

Last Published

October 8th, 2024

Functions in copBasic (2.2.6)

EMPIRcop

The Bivariate Empirical Copula
EMPIRgrid

Grid of the Bivariate Empirical Copula
EMPIRgridder

Derivatives of the Grid of the Bivariate Empirical Copula for V with respect to U
COPinv

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

Data Frame Representation of the Bivariate Empirical Copula
EMPIRmed.regress2

Median Regression of the Grid of the Bivariate Empirical Copula for U with respect to V
EMPIRsimv

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

The Copula
EuvCOP

Expected value of U given V
AMHcop

The Ali--Mikhail--Haq Copula
CIRCcop

Copula of Circular Uniform Distribution
COPinv2

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

The Joe/B5 Copula (B5)
LzCOPpermsym

Maximum Asymmetry Measure (or Vector) of a Copula by Exchangability
FRECHETcop

The Fréchet Family Copula
PARETOcop

The Pareto Copula
GHcop

The Gumbel--Hougaard Extreme Value Copula
EMPIRqua.regress2

Quantile Regression of the Grid of the Bivariate Empirical Copula for U with respect to V
EMPIRsim

Simulate a Bivariate Empirical Copula
M

The Fréchet--Hoeffding Upper-Bound Copula
M_N5p12b

Shuffles of Upper-Bound Copula, Example 5.12b of Nelsen's Book
EMPIRgridder2

Derivatives of the Grid of the Bivariate Empirical Copula for U with respect to V
EMPIRgridderinv

Derivative Inverses of the Grid of the Bivariate Empirical Copula for V with respect to U
ORDSUWcop

Ordinal Sums of W-Copula
EvuCOP

Expected value of V given U
EMPIRqua.regress

Quantile Regression of the Grid of the Bivariate Empirical Copula for V with respect to U
EMPIRgridderinv2

Derivative Inverses of the Grid of the Bivariate Empirical Copula for U with respect to V
PSP

The Ratio of the Product Copula to Summation minus Product Copula
EMPIRmed.regress

Median Regression of the Grid of the Bivariate Empirical Copula for V with respect to U
PLACKETTcop

The Plackett Copula
P

The Product (Independence) Copula
PLACKETTpar

Estimate the Parameter of the Plackett Copula
ReineckeWells

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

The Generalized Farlie--Gumbel--Morgenstern Copula
W

The Fréchet--Hoeffding Lower-Bound Copula
GLcop

The Galambos Extreme Value Copula (with Gamma Power Mixture [Joe/BB4] and Lower Extreme Value Limit)
N4212cop

The Copula of Equation 4.2.12 of Nelsen's Book
RAYcop

The Rayleigh Copula
W_N5p12a

Ordinal Sums of Lower-Bound Copula, Example 5.12a of Nelsen's Book
PLACKETTsim

Direct Simulation of a Plackett Copula
aicCOP

Akaike Information Criterion between a Fitted Coupla and an Empirical Copula
composite2COP

Composition of Two Copulas with Two Compositing Parameters
HRcop

The Hüsler--Reiss Extreme Value Copula
bicoploc

Analog to Line of Organic Correlation by Copula Diagonal
composite3COP

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

Bivariate L-moments and L-comoments of a Copula
ORDSUMcop

Ordinal Sums of M-Copula
diagCOP

The Diagonals of a Copula
derCOP

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

Wrapper on a User-Level Formula to Become a Copula Function
convex2COP

Convex Combination of Two Copulas
RFcop

The Raftery Copula
bicCOP

Bayesian Information Criterion between a Fitted Coupla and an Empirical Copula
diagCOPatf

Numerical Rooting the Diagonal of a Copula
glueCOP

Gluing Two Copulas
blomCOP

The Blomqvist Beta of a Copula
ReineckeWell266

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

Blomqvist (Schmid--Schmidt) Betas of a Copula
convexCOP

Convex Combination of an Arbitrary Number of Copulas
derCOP2

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

The Co-Copula Function
blomatrixCOP

A Matrix of Blomqvist-like Betas of a Copula
densityCOP

Density of a Copula
isCOP.PQD

The Positively Quadrant Dependency State of a Copula
composite1COP

Composition of a Single Symmetric Copula with Two Compositing Parameters
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
isCOP.RTI

Is a Copula Right-Tail Increasing
densityCOPplot

Contour Density Plot of a Copula
breveCOP

Add Asymmetry to a Copula
joint.curvesCOP

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

The Hoeffding Phi of a Copula or Lp Distances (Independence, Radial Asymmetry, or Reflection Symmetry Forms)
isCOP.LTD

Is a Copula Left-Tail Decreasing
gridCOP

Compute a Copula on a Grid
prod2COP

The Product of Two Copulas
isfuncCOP

Is a General Bivariate Function a Copula by Gridded Search?
joeskewCOP

Joe's Nu-Skew and the copBasic Nu-Star of a Copula
lcomCOPpv

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

Basic Theoretical Copula, Empirical Copula, and Various Utility Functions
lcomoms2.ABKGcop2parameter

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

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

The Inverse Kendall Function of a Copula
psepolar

Pseudo-Polar Representation of Bivariate Data
joint.curvesCOP2

Compute Coordinates of the Marginal Probabilities given joint AND or OR Probability
level.curvesCOP2

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

The Joint Survival Function
level.setCOP

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

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

Perform Quantile Regression using a Copula by Numerical Derivative Method for V with respect to U
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
gEVcop

The Gaussian-based (Extreme Value) Copula
tEVcop

The t-EV (Extreme Value) Copula
duCOP

The Dual of a Copula Function
footCOP

The Spearman Footrule of a Copula
giniCOP

The Gini Gamma of a Copula
isCOP.permsym

Is a Copula Permutation Symmetric
isCOP.radsym

Is a Copula Radially Symmetric
rhoCOP

The Spearman Rho of a Copula
simCOP

Simulate a Copula by Numerical Derivative Method
kfuncCOPlmoms

The L-moments of the Kendall Function of a Copula
sectionCOP

The Sections or Derivative of the Sections of a Copula
level.setCOP2

Compute a Level Set of a Copula U with respect to V
lcomoms2.ABcop2parameter

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

Simulate V from U through a Copula by Numerical Derivative Method
level.curvesCOP

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

Lower and Upper Semi-Correlations of a Copula
med.regressCOP

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

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

The Vuong Procedure for Parametric Copula Comparison
jointCOP

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

Estimation of the Spectral Measure
med.regressCOP2

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

The Tail Concentration Function of a Copula
mleCOP

Maximum Pseudo-Log-Likelihood Estimation for Copula Parameter Estimation
stabtaildepf

Estimation of the Stable Tail Dependence Function
statTn

The Tn Statistic of a Fitted Copula to an Empirical Copula
surCOP

The Survival Copula
tailordCOP

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

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

The Kendall (Distribution) Function of a Copula
kullCOP

Kullback--Leibler Divergence, Jeffrey Divergence, and Kullback--Leibler Sample Size
lcomCOP

L-comoments and Bivariate L-moments 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
tauCOP

The Kendall Tau and Concordance Function of a Copula
rmseCOP

Root Mean Square Error between a Fitted Copula and an Empirical Copula
simcomposite3COP

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

Compute the L-comoments of a Two-Value Composited Copula by Simulation
wolfCOP

The Schweizer and Wolff Sigma of a Copula
CLcop

The Clayton Copula