## Not run:
# # load data set
# data(worldindices)
# d = dim(worldindices)[2]
#
# # select the C-vine families and parameters
# cvine = CDVineCopSelect(worldindices,c(1:6),type="CVine")
#
# # select the D-vine families and parameters
# dvine = CDVineCopSelect(worldindices,c(1:6),type="DVine")
#
# # compare the two models based on the data
# clarke = CDVineClarkeTest(worldindices,1:d,1:d,cvine$family,dvine$family,
# cvine$par,dvine$par,cvine$par2,dvine$par2,
# Model1.type=1,Model2.type=2)
# clarke$statistic
# clarke$statistic.Schwarz
# clarke$p.value
# clarke$p.value.Schwarz
# ## End(Not run)
Run the code above in your browser using DataLab