Opened 12 years ago
Closed 9 years ago
#6058 closed defect (duplicate)
[with patch, needs comments] Add basic statistics functionality at the top level
Reported by: | mhampton | Owned by: | mhampton |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | statistics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | Karl-Dieter Crisman | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Sage should provide basic statistics functionality at the top level. These functions might use scipy.stats or R or a new native implementation. For graphics in particular we should probably bypass R.
This ticket will merely start this process with one patch, but will not completely address the needed functionality.
Duplicate of #7197
Attachments (1)
Change History (7)
Changed 12 years ago by
comment:1 Changed 12 years ago by
Comments are welcome on this very initial effort.
comment:2 Changed 12 years ago by
- Summary changed from Add basic statistics functionality at the top level to [with patch, needs comments] Add basic statistics functionality at the top level
comment:3 Changed 12 years ago by
- Component changed from numerical to statistics
- Owner changed from jkantor to mhampton
comment:4 Changed 12 years ago by
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 Pythonint
s, then it will do Pythonint
division -- so3/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 fullstandard_deviation
available (especially since we havevariance
as opposed to justvar
, for obvious reasons).
comment:5 Changed 9 years ago by
- Milestone changed from sage-5.1 to sage-duplicate/invalid/wontfix
- Report Upstream set to N/A
- Reviewers set to Karl-Dieter Crisman
- Status changed from needs_work to positive_review
This apparently was done at around the same time as this was posted by #7197, and no one noticed. Sorry, Marshall :( but on the plus side we have had this since Sage 4.3 :)
To release manager - this is invalid/dup.
comment:6 Changed 9 years ago by
- Description modified (diff)
- Resolution set to duplicate
- Status changed from positive_review to closed
A baby step towards top-level statistics