1. Week 2: Product Spaces

    I spent a major part of this week working on product probability spaces, in #14730. This would allow SymPy to compute the probability/expectation of expressions with multiple random variables. For example: >>> from sympy.stats import Poisson, P, Geometric >>> from sympy import S >>> X1, X2 = Geometric('X1', S(1)/2), Geometric('X2', S(1)/3) >>> P(X1 + X2 < 5) #This was not possible for discrete random variables earlier. While the PR gives the correct result, one thing that requires improvement is that the result is often a complicated expression. In most cases, it comprises of multiple summations that cannot be simplified further by SymPy as of now. For instance, the result of the above is as follows. …


  2. Week 1: Getting started

    Hello everyone. I am Akash, and this is the first in the series of blogs where I’ll be writing about my experience with the project on improving the SymPy stats module as a part of GSoC’18. …