Density and cdf of the independence copula.
Usage
dindep(u, v)
pindep(u, v)
Arguments
- u, v
Numeric vectors.
Value
dindep
gives the density, and pindep
gives the cdf, both as
numeric vectors.
Examples
dindep(c(1, 0.3, 5, 0.8), c(0.5, 0.7, 3, 8))
#> [1] 1 1 0 0
dindep(c(0.2, 0.3), 4)
#> [1] 0 0
pindep(c(1, 0.2), 0.5)
#> [1] 0.5 0.1
pindep(c(-2, 8, NA), c(3, 4, 0.1))
#> [1] 0 1 NA
pindep(c(-2, 8), c(4, 0.1))
#> [1] 0.0 0.1