Mutual Information between continuous random variables

I want to determine the mutual information or information gain between the 30 years rainfall data at two stations. Since, rainfall data is a continuous variables, can someone suggests me a matlab code to determine the mutual information?

3 Comments

What do you mean by mutual information?
Hi @Deepthi B, I am trying to do something similar. I was wondering if this issue has been solved or not.

Sign in to comment.

Answers (1)

7 Comments

the problem is that these codes are all for discrete variables . I want it for continuous variables
Tough problem, because you need the density of the joint distribution to compute the mutual information for continuous variables. Unless you have a joint distribution family in mind (e.g., bivariate normal) and a way to estimate its density (easy for normal), then (as far as I can see) you will have to categorize your continuous scores into discrete bins and then use the discrete methods.
Can you provide some materials related to this if you don't mind?
Sorry, I have no related materials to provide.
@Jeff Miller I don't know whether it is right to ask here. Can we do it in Python? Sorry if this question doesn't suits here
I don't know Python, but I doubt it. I don't think you can do anything without knowing or assuming the underlying joint distribution family, regardless of the programming language.

Sign in to comment.

Asked:

on 29 Jul 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!