Skip to content

[Feature req] Convolutions of dependent random vectors.  #240

@rand5

Description

@rand5

I'm migrating a problem discussed here that involves computing the convolution of two dependent random variables where their joint distribution is defined by a copula. I believe the issue may stem from the fact that evaluating the pdf of the copula sometimes returns NaN when it should return 0.
Here is an example with marginal distributions that should have support over all reals:

X1 = Gumbel(15.,5.)
X2 = MixtureModel([Normal(-6.,0.1),X1],[0.9,0.1])

ρ = 0.4

C = GaussianCopula([1. ρ; ρ 1.])

D1 = SklarDist(C,(X1,X2))

pdf(D1,[-30., -30.]) #Returns NaN

The link above has an attempt at a brute force work-around, but it doesn't seem to be sufficient (see the plot in the link).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions