Status: Valid
Owner: ----
Labels: Type-Enhancement Priority-Medium Statistics

New issue 3603 by [email protected]: Automate construction of continuous distribution classes/docstrings
http://code.google.com/p/sympy/issues/detail?id=3603

sympy/stats/crv_types.py contains a vast amount of information about continuous distributions. This includes their PDFs, expectations, conditions on parameters (e.g. standard deviation of normal variable must be positive), wikipedia and mathworld links, minor notes, etc....

Currently, all of this information is present as code and doctests. These pieces of code are very regular and could be automatically generated. This would have the following benefits:

1. Future changes to the interface of sympy.stats would not require a huge rewrite of the docstrings (currently a daunting task). 2. Future additions of new distributions could be done with a minimum of gruntwork. 3. We could probably find, cache, and write down results like the expectation, variance, cdf, moment generating function, etc... of distributions for whom full symbolic answers are available. These results could then be used during normal use. This would help performance. This is similar to ask_generated.py in the assumptions system.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to