LINQ Equivalent for Standard Deviation
Posted
by Steven
on Stack Overflow
See other posts from Stack Overflow
or by Steven
Published on 2010-02-12T17:48:21Z
Indexed on
2010/05/20
4:40 UTC
Read the original article
Hit count: 370
Does LINQ model the aggregate SQL function STDDEV()
(standard deviation)?
If not, what is the simplest / best-practices way to calculate it?
Example:
SELECT test_id, AVERAGE(result) avg, STDDEV(result) std
FROM tests
GROUP BY test_id
© Stack Overflow or respective owner