LINQ Equivalent for Standard Deviation
- by Steven
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