Skip to content
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

Convolution of distributions #9

Open
ibab opened this issue Jan 26, 2016 · 1 comment
Open

Convolution of distributions #9

ibab opened this issue Jan 26, 2016 · 1 comment
Labels

Comments

@ibab
Copy link

ibab commented Jan 26, 2016

Users should be able to incorporate convolutions of two distributions as a new distribution into the model.
This could be used to model random noise added to a random variate.

Example:

p2 = Conv(p1, Normal(0, .1))

For the implementation, we could either try to use the 2D convolution in theano or write our own using FFT.
Also, many exponential family distributions have nice analytical convolutions that we could make use of.

@glouppe glouppe added the API label Jan 26, 2016
@cranmer
Copy link
Member

cranmer commented Jan 26, 2016

Nice to hear from you @ibab.
There are a few different ways to implement the convolution, so we should probably have an abstraction here too.

  • numerical integral for distribution
  • FFT version
  • known analytical pairs

Also, for the case that the distribution is just a generative model, I guess we just sample from p1 and p2 and then add per component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants