1
$\begingroup$

I am trying to compare two one-dimensional distributions. I am using Kullback-Leibler divergence function for this but it requires me to have both the distributions of equal length. I am not sure how I can make the distributions of equal length without disturbing the original distributions(i.e. if I add zeroes to the distribution smaller in size, the probability of value 0 in that distribution will become very high.)

The probability densities of both my distributions are as shown in the below figure, Probability density functions

Note that, the N=235 refers to the bigger distribution size and doesn't imply that both distributions are of size 235.

Please suggest some way that I can use Kullback-Leibler divergence for this problem. Some input on other methods/tests which can be used for comparison will be appreciated as well.

$\endgroup$
  • 1
    $\begingroup$ Your description is a bit confusing. A distribution doesn't have an $n$. Are you using the word distribution to refer to a sample, or to the length of a sequence of values where the density has been estimated, or something else? $\endgroup$ – Glen_b Mar 26 '16 at 0:59
  • 1
    $\begingroup$ @Glen_b yes my N represents length of sequence of values where the density has been estimated. $\endgroup$ – Kunal Parmar Mar 26 '16 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.