--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.
This fails in solveIn [1]: from sympy.stats import *In [2]: mu = Symbol('mu', real=True, bounded=True)In [3]: sigma = Symbol('sigma', positive=True)In [4]: X = Normal('X', mu, sigma)In [5]: simplify(2 * P(X - mu < 10))Out[5]:⎛ ___⎞⎜5⋅╲╱ 2 ⎟erf⎜───────⎟ + 1⎝ σ ⎠
In [6]: solve(_ - 0.20, sigma)NotImplementedError:No algorithms are implemented to solve equation -_Dummy_44 + erf(5*sqrt(2)/sigma)Note that historically in statistics each distribution knew how to calculate these things on their own. It was hard coded in. In stats we express the problem with statistical operations and use SymPy to generate the right equations to solve in each case. This is usually far more powerful and extensible but, in this particular case, performs badly. The ideal path to solution here is to teach solve how to deal with error functions.Does anyone know how hard this is?