# NOT RUN {
UV <- simCOP(200, cop=gEVcop, para=0.8) #
# }
# NOT RUN {
# }
# NOT RUN {
# Joe (2014, p. 105) has brief detail indicating rho = [0,1] and though it seems
# rho would be a Pearson correlation, this does not seem to be the case. The Rho
# seems to start with that of the Gaussian and then through the extreme-value
# transform, it just assumes the role of a parameter?
rho <- 0.8
UV <- simCOP(2000, cop=gEVcop, para=rho)
P <- cor(UV[,1], UV[,2], method="pearson")
if(abs(P-0.8) < 0.001) {
print("Yet same")
} else { print("nope not") } # Should they be?
# }
# NOT RUN {
# }
# NOT RUN {
r <- seq(0.01,1, by=.01)
R <- sapply(rhos, function(k) rhoCOP(cop=gEVcop, para=k))
#
# }
Run the code above in your browser using DataLab