[R] Copula package: How to calculate correlation matrix using 144 variables to denote parameters for normal copula?

From: rasti matus <rastimatus_at_gmail.com>
Date: Mon, 10 Nov 2008 11:41:08 +0100


I calculated correlation matrix using 144 variables with a given function: cor_flows_vec=cor()

Then I defined a normal copula with the above correlation matrix myCop=normalCopula(param=cor_flows_vec, dim = 144, dispstr = "un")

Then I created a multivariate distribution with our defined copula while the univariete functions were fitted by GEV distribution using fExtremes package library(fExtremes)



for (i in seq(1:n)){

    param[i]= list(list(xi=d[1,i], mu=d[2,i], beta=d[3,i]))



myMvd <- mvdc(copula=myCop,

The problem occures when I am trying to sample from the mvdc regarding correlation matrix.
rmvdc(myMvd, 3)

Cam anyone help? Thanks

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 10 Nov 2008 - 10:50:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Nov 2008 - 13:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive