pcop: Bivariate copula cdfs and densities

Description Usage Arguments Details Value References See Also Examples

View source: R/zzz.R

Description

Bivariate copula cdfs and densities, for parametric families Log of copula densities.

Usage

1
2
3
pcop(u,v,cpar)
dcop(u,v,cpar)
logdcop(u,v,cpar)

Arguments

u

value in interval 0,1; could be a vector

v

value in interval 0,1; could be a vector

cpar

copula parameter: could be scalar or vector depending on the copula family, could be a matrix with m columns if copula family has m parameters.

Details

Choices are 'cop' in pcop and dcop are bvncop, bvtcop, pla, frk, mtcj, mtcjr (reflected mtcj), joe, gum, gumr, gal, hr, fgm, bMO, tev, bb1, bb1r, bb2, bb3, bb4, bb4r, bb5, bb6, bb7, bb7r, bb8, bb9, bb10, ipsA, ipsAr, imitlefA, imitlefAr, etc. Use dbvncop and dbvtcop for the bivariate normal and t copula densities. Note that pbvtcop assumes that the degree of freedom parameter is a positive integer.

The bounds for the copula parameter(s) are in the source R files, or can get obtained from the function cparbound(). The copula names are abbreviations for:

bvn = bivariate normal or Gaussian

bvt = bivariate t

pla = Plackett

frk = Frank

mtcj = Mardia-Takahasi-Clayton-Cook-Johnson

joe = Joe/B5

gum = Gumbel

gal = Galambos

hr = Huesler-Reiss

fgm = Farlie-Gumbel-Morgenstern

bMO = bivariate Marshall-Olkin (cdf only, it has not absolutely continuous)

basymgum1 = bivariate asymmetric Gumber with one skew parameter (cdf only)

tev = t-EV = extreme value limit of bivariate t

bb1 = BB1 etc

ipsA = Archimedean based on integrated positive stable LT

imitlefA = Archimedean based on integrated Mittag-Leffler LT

Choices are 'cop' in logdcop are pla, frk, mtcj, mtcjr, joe, gum, gal, hr, fgm, bvncop, bvtcop, bb1, bb1r, bb7, ipsA, ipsAr. These are included if it is more efficient to code logdcop directly, Otherwise create your own function from log of the appropriate dcop function. Another possibility is to write dcop functions with log=T option.

Value

cdf or pdf or log pdf value(s)

References

Joe H (1997). Multivariate Models and Dependence Concepts. Chapman & Hall.

See Also

pcond cparbound

Examples

1
2
3
4
5
6
7
8
9
u=seq(.1,.9,.1)
v=u
ppla(u,v,2)
pfrk(u,v,2)
pmtcj(u,v,2)
pbb1(u,v,c(.5,1.2))
dpla(u,v,2)
logdpla(u,v,2)
log(dpla(u,v,2))

vincenzocoia/CopulaModel documentation built on Oct. 27, 2021, 6:41 a.m.