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

Already on GitHub? Sign in to your account

Adding stdev/stdevp. #859

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

freeeve commented Jun 5, 2013

Feedback welcome.

@freeeve freeeve Adding stdev/stdevp. 8c9fc76
Contributor

freeeve commented Jun 6, 2013

It works like this:

create ({x:1}), ({x:2}), ({x:3}), ({x:4});

start n=node(*) where has(n.x) return stdev(n.x), stdevp(n.x);
+----------------------------------------+
| stdev(n.x)         | stdevp(n.x)       |
+----------------------------------------+
| 1.2909944487358056 | 1.118033988749895 |
+----------------------------------------+
1 row
Member

boggle commented Jun 11, 2013

This one needs to go to 2.0 as well. Closing and merging manually. Thanks for the code, wes!

@boggle boggle closed this Jun 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment