Is a general bivariate function a copula? Three properties are identified by Nelsen (2006, p. 10) for a bivariate copula \(\mathbf{C}(u,v)\):
$$\mathbf{C}(u,0) = 0 = \mathbf{C}(0,v)\mbox{\quad Nelsen 2.2.2a,}$$
$$\mathbf{C}(u,1) = u \mbox{\ and\ } \mathbf{C}(1,v) = v\mbox{\quad Nelsen 2.2.2b, and}$$
for every \(u_1, u_2, v_1, v_2\) in \(\mathcal{I}^2\) such that \(u_1 \le u_2\) and \(v_1 \le v_2\),
$$\mathbf{C}(u_2, v_2) - \mathbf{C}(u_2, v_1) - \mathbf{C}(u_1, v_2) + \mathbf{C}(u_1, v_1) \ge 0 \mbox{\quad Nelsen 2.2.2c.}$$
The last condition is known also as “2-increasing.” The isfuncCOP
works along a gridded search in the domain \(\mathcal{I}^2 = [0,1]\times[0,1]\) for the 2-increasing check with a resolution \(\Delta u = \Delta v\) \(=\) delta
. Because there are plenty of true copula functions available in the literature it seems unlikely that this function provides much production utility in investigations. This function is provided because part of the objectives of the copBasic package is for instructional purposes. The computational overhead is far too great for relative benefit to somehow dispatch to this function all the time using the other copula utilities in this package.
isfuncCOP(cop=NULL, para=NULL, delta=0.002, ...)
A logical value of TRUE
or FALSE
is returned.
A potential bivariate copula function that accepts two arguments for the \(u\) and \(v\) and parameters along argument para
with option of additional arguments through the ...
argument;
Vector of parameters or other data structure, if needed, to pass to the copula;
The \(\Delta u = \Delta v\) of the grid edges; and
Additional arguments to pass to the copula function.
S. Kloibhofer (idea and most code) and W.H. Asquith (documentation)
Nelsen, R.B., 2006, An introduction to copulas: New York, Springer, 269 p.
densityCOP