This Article 
 Bibliographic References 
 Add to: 
Symbolic Statistics with SymPy
May/June 2012 (vol. 14 no. 3)
pp. 88-93

Replacing symbols with random variables makes it possible to naturally add statistical operations to complex physical models. Three examples of symbolic statistical modeling are considered here, using new features from the popular SymPy project.

1. D. Joyner et al., "Open Source Computer Algebra Systems: SymPy," ACM Comm. Computer Algebra, vol. 45, nos. 3/4, 2011, pp. 225–234.
2. M. Erwig and S. Kollmansberger, "Probabilistic Functional Programming in Haskell," J. Functional Programming, vol. 16, no. 1, 2006, pp. 21–34.
3. Andy R. Terrel, "From Equations to Code: Automated Scientific Computing," Computing in Science & Eng., vol. 13, no. 2, 2011, pp. 78–82.

Index Terms:
Computational science, scientific computing, SymPy, Python, symbolic statistical modeling
Matthew Rocklin, Andy R. Terrel, "Symbolic Statistics with SymPy," Computing in Science and Engineering, vol. 14, no. 3, pp. 88-93, May-June 2012, doi:10.1109/MCSE.2012.56
Usage of this product signifies your acceptance of the Terms of Use.