Open ahenkes opened 5 years ago
That is a bug. I will take a closer look to see what is going on.
In addition:
R = np.zeros(4)
really should be np.eye(4)
. The code shouldn't work otherwise.chaospy.MvNormal
is enough. But if this is a stepping stone to trying out other base distributions, you are going down the right path.Thank you very much for the quick answer!
Indeed, it is a typo, it should be eye(4)! I will check your attached slides and report back!
So, I used the proposed procedure from your slides, and it seems to work out, which is great! I now try to rebuild my previous results using this technique.
Thank you very much for your great work!
Glad to hear.
I'll keep the issue open for the sake of the original bug.
I have four normal distributions and want to add dependency to them in a simple way and than do some PCE. Lets say, I have the the correlation matrix from experimental data, my guess would be to use a nataf copula with the respective R matrix. Unfortunately, for more than two random variables the memory gets full. Maybe this is not the canonical way to do it? To stress my point, here is some of my code