Tag Archives: stddev

Use an improved extension method to calculate standard deviation in C#

The example Calculate standard deviation in C# makes an extension method that calculates standard deviation for an IEnumerable of integers. Unfortunately because that example works with integers, it cannot work with other data types. Rian Meier showed me this method, … Continue reading

Posted in algorithms, extension methods, mathematics | Tagged , , , , , , , , , , | 2 Comments

Calculate standard deviation in C#

Standard deviation is a measurement of how spread out the values in a normally distributed sample are. A standard deviation close to 0 means the values are relatively close together. A large standard deviation means they are spread far apart. … Continue reading

Posted in algorithms, extension methods, mathematics | Tagged , , , , , , , , , , | 1 Comment