Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support Standard Deviation #2

Closed
mr23 opened this issue Sep 16, 2014 · 4 comments
Closed

Please support Standard Deviation #2

mr23 opened this issue Sep 16, 2014 · 4 comments

Comments

@mr23
Copy link

mr23 commented Sep 16, 2014

Have you considered supporting Standard Deviation?

Moved over from Gordon's Issue (#1) Reducing Multiple Values...

On 9/15/2014 8:06 AM, Ethan Jewett wrote:

@mr23 https://github.com/mr23 Standard deviation would definition
just fit as a new type of aggregation - it won't really affect any
changes to the API. If you want to create a separate issue, that would
be great. And if you can remind me how to calculate the std dev, that
would be great too :-)


Reply to this email directly or view it on GitHub
#1 (comment).

http://en.wikipedia.org/wiki/Standard_deviation

I drafted up some files for Sum of Squares and StD.
I'm not sure this is the best arrangement or reflects everything needed
test-wise.
As I said, just a draft.
I did not set up a build environment yet so I'm not sure it will compile
without an error.

But I figured the least I could do would be to offer up some example
code for the Std.

Next opportunity I'll make another pass over this, but could be a few
days or more. You never know what life brings next.

-Chris

ps. in my original email reply tonight to the Issue#1 thread, I attached the draft files. I figured they wouldn't show up here in the issue, but I don't know if you (Ethan) will received a copy of them in an email. If not, please contact me via email (use one in profile); I don't have time tonight to work up a fork, ..., pull request.

@esjewett
Copy link
Member

As mentioned, this is definitely something I'd like to do. I've emailed separately, but if you have time later to set up a pull request that would be excellent. If you have any questions on how to add a new aggregation, I'm happy to answer here and then convert that into a wiki page for future reference. Otherwise I will get to it probably over the weekend.

@esjewett
Copy link
Member

Modified the code from your email and added it. Seems to pass the test cases you provided. @mr23 - would you might testing it out?

@mr23
Copy link
Author

mr23 commented Sep 18, 2014

Works here, thanks for the quick responses.
I figured out how to incorporate it, so I'm good there.
I'll share what I'm doing in the next day or two.

On September 17, 2014 3:22:38 PM CDT, Ethan Jewett notifications@github.com wrote:

Modified the code from your email and added it. Seems to pass the test
cases you provided. @mr23 - would you might testing it out?


Reply to this email directly or view it on GitHub:
#2 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@mr23
Copy link
Author

mr23 commented Sep 18, 2014

Sample at http://the12lab.com/GDCA_Html/TestStats.html, the 3 tables are handled by Reductio.
Select a region on the scatter plot, and note the statistics changes.
Thanks for your help.

@mr23 mr23 closed this as completed Sep 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants