I am trying to create a joint probability function that is of the form:



copula=CopulaDistribution[{"MultivariateT",R,2},{f1, f2, f3}]


f1, f2, f3 are marginal distributions.

I do this by using the code


Clearly, I should be able to simulate from this product distribution (and I am). However, my problem is that Mathematica thinks there are 6 variables (3 from copula, and 3 from the marginals). This obviously should not be the case as there should only be 3 variables corresponding to the marginals

What can I do to rectify this issue?


1 Answer 1


If I understand you correctly, you are trying to combine the four distributions copula,f1,f2,f3 by means of ProductDistribution. However, ProductDistribution is meant to "represent the joint distribution with independent component distributions", according to its documentation. Consequently, the variables of each of your four distributions must be independent, for a total of six.

Perhaps, you should use TransformedDistribution instead of ProductDistribution, as described in 69347, although it is difficult to know without a more complete understanding of what you are trying to accomplish.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.