
BiCopSelect(u1, u2, familyset=NA, selectioncrit="AIC", indeptest=FALSE, level=0.05)
familyset = NA
(default), selection among all possible families is performed.
Coding of bivariate copula families:
1
= Gaussian copula
2
= Student t copula (t-copula)
3
= Clayton copula
4
= Gumbel copula
5
= Frank copula
6
= Joe copula
7
= BB1 copula
8
= BB6 copula
9
= BB7 copula
10
= BB8 copula
13
= rotated Clayton copula (180 degrees; ``survival Clayton'')
14
= rotated Gumbel copula (180 degrees; ``survival Gumbel'')
16
= rotated Joe copula (180 degrees; ``survival Joe'')
17
= rotated BB1 copula (180 degrees; ``survival BB1'')
18
= rotated BB6 copula (180 degrees; ``survival BB6'')
19
= rotated BB7 copula (180 degrees; ``survival BB7'')
20
= rotated BB8 copula (180 degrees; ``survival BB8'')
23
= rotated Clayton copula (90 degrees)
24
= rotated Gumbel copula (90 degrees)
26
= rotated Joe copula (90 degrees)
27
= rotated BB1 copula (90 degrees)
28
= rotated BB6 copula (90 degrees)
29
= rotated BB7 copula (90 degrees)
30
= rotated BB8 copula (90 degrees)
33
= rotated Clayton copula (270 degrees)
34
= rotated Gumbel copula (270 degrees)
36
= rotated Joe copula (270 degrees)
37
= rotated BB1 copula (270 degrees)
38
= rotated BB6 copula (270 degrees)
39
= rotated BB7 copula (270 degrees)
40
= rotated BB8 copula (270 degrees)
selectioncrit = "AIC"
(default) or "BIC"
.u1
and u2
is performed before bivariate copula selection
(default: indeptest = FALSE
; cp. BiCopIndTest
).
The independence copula is chosen if the null hypothesis of independence cannot be rejected.level = 0.05
).u1
and u2
are negatively dependent, Clayton, Gumbel, Joe, BB1, BB6, BB7 and BB8 and their survival copulas are not considered)
and the family with the minimum value is chosen.
For observations $u_{i,j}, i=1,...,N,\ j=1,2,$ the AIC of a bivariate copula family $c$ with parameter(s) $\boldsymbol{\theta}$ is defined as
Additionally a test for independence can be performed beforehand.
Brechmann, E. C. (2010). Truncated and simplified regular vines and their applications. Diploma thesis, Technische Universitaet Muenchen. http://mediatum.ub.tum.de/doc/1079285/1079285.pdf.
Manner, H. (2007). Estimation and model selection of copulas with an application to exchange rates. METEOR research memorandum 07/056, Maastricht University.
Schwarz, G. E. (1978). Estimating the dimension of a model. Annals of Statistics 6 (2), 461-464.
CDVineCopSelect
, BiCopIndTest
## Example 1: Gaussian copula with large dependence parameter
par1 = 0.7
fam1 = 1
dat1 = BiCopSim(500,fam1,par1)
# select the bivariate copula family and estimate the parameter(s)
cop1 = BiCopSelect(dat1[,1],dat1[,2],familyset=c(1:10),indeptest=FALSE,level=0.05)
cop1$family
cop1$par
cop1$par2
## Example 2: Gaussian copula with small dependence parameter
par2 = 0.01
fam2 = 1
dat2 = BiCopSim(500,fam2,par2)
# select the bivariate copula family and estimate the parameter(s)
cop2 = BiCopSelect(dat2[,1],dat2[,2],familyset=c(1:10),indeptest=TRUE,level=0.05)
cop2$family
cop2$par
cop2$par2
## Not run:
# ## Example 3: empirical data
# data(worldindices)
# cop3 = BiCopSelect(worldindices[,1],worldindices[,4],familyset=c(1:10,13,14,16,23,24,26))
# cop3$family
# cop3$par
# cop3$par2
# ## End(Not run)
Run the code above in your browser using DataLab