# load data set
data(daxreturns)
# select the R-vine structure, families and parameters
RVM = RVineStructureSelect(daxreturns[,1:5],c(1:6))
# select the C-vine structure, families and parameters
CVM = RVineStructureSelect(daxreturns[,1:5],c(1:6),type="CVine")
# compare the two models based on the data
clarke = RVineClarkeTest(daxreturns[,1:5],RVM,CVM)
clarke$statistic
clarke$statistic.Schwarz
clarke$p.value
clarke$p.value.Schwarz
Run the code above in your browser using DataLab