SQLite Forum

Best way to observe database operations
Login
Welford's [incremental variance](https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_online_algorithm)

A bit later on the same page also a few higher order statistics.

Also [John D Cook](https://www.johndcook.com/blog/standard_deviation/)