-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels