July 2010
Intermediate to advanced
840 pages
16h 33m
English
If you have a version of SQL with an absolute value function, ABS(), you can also compute the average deviation following this pattern:
BEGIN SELECT AVG(x) INTO :average FROM Samples; SELECT SUM(ABS(x - :average)) / COUNT(x) AS AverDeviation FROM Samples; END;
This is a measure of how far data values drift away from the average, without any consideration of the direction of the drift.
Read now
Unlock full access