# How to add/subtract probability distributions?

**URL:** <https://discourse.julialang.org/t/how-to-add-subtract-probability-distributions/75673>\
**Category:** New to Julia\
**Tags:** physics, distributions\
**Created:** [February 2, 2022, 4:25pm UTC](https://discourse.julialang.org/t/how-to-add-subtract-probability-distributions/75673 "2022-02-02T16:25:20Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [February 2, 2022, 7:52pm UTC](https://discourse.julialang.org/t/how-to-add-subtract-probability-distributions/75673/9 "2022-02-02T19:52:56Z")

</div>

@jonniedie, your example is splendid.  
Please consider adding it to the [_Seven Lines of Julia_](https://discourse.julialang.org/t/seven-lines-of-julia-examples-sought/50416) collection.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-add-subtract-probability-distributions/75673)._
