KL divergence on different domains

1 reply · 3K views · last reply
flatlinez
Messages
1
Reaction score
0
Hallo,


I'm trying to compare the distance between two distributions that I got from a Kernel smoothing density estimate (ksdensity in matlab). I was thinking of using the kullback leibler divergence, but I realized that the domains of my distributions are different (see attached).
Can I find a way to use the KLdivergence or i need to find another way?

Thank you
 
Attachments
  • Two side-by-side kernel density plots: left curve peaks near x = 200 with y up to about 2.5 x 10^-3 and spans roughly -500 to 600; right curve peaks near x = 580 with y up to about 3.6 x 10^-3 and spans roughly 100 to 1050.
    2ep4yab.jpg
    13.2 KB · Views: 624
flatlinez said:
Hallo,
I'm trying to compare the distance between two distributions

What is the goal of doing this comparison? If you measure a "distance" between the distribution then what are you comparing that distance to?

the domains of my distributions are different

It is the "support" of the distributions that are different. You can define the "domain" to be the same. A domain for a probability distribution can include values where the density is zero.