Kindly assist with R code for BB1 copula. Text books and research articles provide codes for clayton, gumbel, frank, normal and t copulas. However, I can't find code for BB1, the copula family defined in H. Joe: Multivariate Models and Multivariate Dependence Concepts, Chapman & Hall, 1997, p. 150
For example, this is the code I found:
gf <- gofCopula(normalCopula(dim = 2), as.matrix(mydata), N = 50). ## I obtained results here
But I get an error when I run:
gfBB1 <- gofCopula(BB1Copula(dim = 2), as.matrix(mydata), N = 50)
Error in BB1Copula(dim = 2) : unused argument (dim = 2)