Skip to content

Ch03 sum of two Gaussians is Gaussian? #332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wilcobonestroo opened this issue Apr 30, 2020 · 3 comments
Closed

Ch03 sum of two Gaussians is Gaussian? #332

wilcobonestroo opened this issue Apr 30, 2020 · 3 comments

Comments

@wilcobonestroo
Copy link
Contributor

In chapter 3 there is a sentence

A remarkable property of Gaussian distributions is that the sum of two independent Gaussians is another Gaussian

To me, this looks like an error. For example, if they have different means, the sum will be a function with two "bumps". Is this correct, or am I missing something here?

@rlabbe
Copy link
Owner

rlabbe commented Apr 30, 2020

This is poorly written. The sum of two independent, normally distributed variables is proportional to another gaussian. I thought I had all of these mis-expressions cleaned up, but apparently not.

https://en.wikipedia.org/wiki/Sum_of_normally_distributed_random_variables

@wilcobonestroo
Copy link
Contributor Author

wilcobonestroo commented May 1, 2020

Hmm... My confusion was in the distinction between the distribution (function) and random variable. The sum of the two functions is not a normally distributed function, but the sum of two random variables that are normally distributed is normally distributed. Wikipedia describes it as:

Let X and Y be independent random variables that are normally distributed (and therefore also jointly so), then their sum is also normally distributed

Edit: I had not refreshed my browser, and I wrote my message before I read your response. It is indeed about the random variables.

Repository owner deleted a comment from The-Fenix May 1, 2020
@KumarRishabh
Copy link

In my understanding, the concept that generally confuses people is that of convolution of random variables vs mixture of distributions. To avoid this confusion, extensive treatment of the topic might be required

rlabbe added a commit that referenced this issue Oct 13, 2020
Fixed terrible wording claiming the sum of two Gausian pdfs is normal.
Of course, this is only true for independent normal random variables.
@rlabbe rlabbe closed this as completed Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants