#6058: [with patch, needs comments] Add basic statistics functionality at the 
top
level
------------------------+---------------------------------------------------
 Reporter:  mhampton    |       Owner:  mhampton  
     Type:  defect      |      Status:  new       
 Priority:  major       |   Milestone:  sage-4.0.1
Component:  statistics  |    Keywords:            
------------------------+---------------------------------------------------

Comment(by craigcitro):

 Two quick comments:

  * With the mean function, dividing by `len(a_list)` is '''really'''
 dangerous -- for instance, if you give the function a collection of Python
 `int`s, then it will do Python `int` division -- so `3/2 = 1`, etc. Bad
 news.

  * Do we want to use the name `std` for standard deviation? Since the
 other systems (e.g. R) use that, we should have it available, but I would
 also like to have the full `standard_deviation` available (especially
 since we have `variance` as opposed to just `var`, for obvious reasons).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6058#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to