#9670: Bring probability/random_variable.py to 100% coverage
---------------------------------+------------------------------------------
Reporter: kcrisman | Owner: mvngu
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: documentation | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by ttadic):
I don't know how to change the last message, so I am writing it more
clearly.
This is my attempt to make probability/random_variable.py better. This
patch will make it possible to
-assign probability spaces with probabilities as symbolic variables (like
p, q) -assign random variables on such probability spaces with the
possibility that they also can have values in the symbolic ring
-do basic operations with these random variables (like sums products..) -
the ring of random variables has been added
-I have also made some changes to the way we calculate variance, and
covariance
The new classes are called FiniteRandomVariable, FiniteProbabilitySpace,
while the old classes (DiscreteProbabilitySpace, DiscreteRandomVariable)
are still supported. (Things will work a bit differently, but I think all
the things described in the manual for these classes are supported.)
Since, this is my first contribution to Sage, I am glad to hear any
comments and suggestions.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9670#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en.