Symbolic Statistics with SymPy

  title={Symbolic Statistics with SymPy},
  author={Matthew Rocklin and Andy R. Terrel},
  journal={Computing in Science \& Engineering},
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. 

Figures and Tables from this paper

Uncertainty Modeling with SymPy Stats

A random variable type is added to a mathematical modeling language to introduce uncertainty and produce and query stochastic models and motivates the use of symbolics and thin compilers in scientific computing.

SymPy: Symbolic computing in Python

The architecture of SymPy is presented, a description of its features, and a discussion of select domain specific submodules are discussed, to become the standard symbolic library for the scientific Python ecosystem.

PythonTeX: Fast Access to Python from within LaTeX

PythonTeX is a new LaTeX package that provides access to the full power of Python from within LaTeX documents. It allows Python code entered within a LaTeX document to be executed, and provides

Real-Time Swimmer Tracking on Sparse Camera Array

A real-time algorithm is presented, with the following capabilities: performing the planar projection of the image, fading the background to protect the intimacy of other swimmers, framing the swimmer at a specific swimming lane, and eliminating the redundant video stream from idle cameras.



From Equations to Code: Automated Scientific Computing

  • A. Terrel
  • Computer Science
    Computing in Science & Engineering
  • 2011
Using domain-specific languages, scientific codes can let users work directly with equations and benefit from optimizations not available with general compilers.

Probabilistic Functional Programming in Haskell

This paper will demonstrate such an approach by describing a probabilistic functional programming (PFP) library for Haskell and show that the proposed approach not only facilitates probabilism programming in functional languages, but in particular can lead to very concise programs and simulations.

Functional Pearls: Probabilistic functional programming in Haskell

Functional programming's principle of referential transparency is violated when contemplating the use of functions to describe probabilistic events, such as rolling a die, but these two seemingly incompatible notions can be reconciled if Probabilistic values are encapsulated in a data type.

Open source computer algebra systems: SymPy

This survey will look at SymPy, a free and open source computer algebra system started in 2005 by the second author (O.Č.). It is written entirely in Python, available from SymPy is