gofco
is an interface with the copula
package. It reads out the information from a copula class object and hands them over to a specified gof test or set of tests.
gofco(copulaobject, x, testset = c("gofPIOSRn", "gofKernel"), margins = "ranks", dispstr = "ex", M = 1000, execute.times.comp = T, m = 1, MJ = 100, delta.J = 0.5, nodes.Integration = 12, m_b = 0.5, zeta.m = 0, b_Rn = 0.05, processes = 1)
"gofPIOSRn"
, "gofPIOSTn"
, "gofKernel"
, "gofRosenblattSnB"
, "gofRosenblattSnC"
, "gofRosenblattChisq"
, "gofRosenblattGamma"
, "gofSn"
, "gofKendallCvM"
, "gofKendallKS"
, "gofWhite"
, "gofRn"
.
"ranks"
, which is the standard approach to convert data in such a case. Alternatively can the following distributions be specified: "beta"
, "cauchy"
, Chi-squared ("chisq"
), "f"
, "gamma"
, Log normal ("lnorm"
), Normal ("norm"
), "t"
, "weibull"
, Exponential ("exp"
).
copula
.
M
is at least 100.
gofPIOSTn
is part of testset
.
gofKernel
is part of testset
.
gofKernel
is part of testset
.
gofKernel
is part of testset
.
gofRn
is part of testset
.
gofRn
is part of testset
.
gofRn
is part of testset
.
class
gofCOP with the components
gofCOP with the componentsWhen more than one test shall be performed, the hybrid test is computed too.
data(IndexReturns)
copObject = normalCopula()
gofco(copObject, x = IndexReturns[c(1:100),c(1:2)], testset = c("gofPIOSRn", "gofKernel"), M = 20)
Run the code above in your browser using DataLab