# Tag Archives: standard deviation

## 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

## 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

## Plot data with standard deviation ranges in C#

The examples Draw a normal distribution curve in C# and Draw a scaled normal distribution in C# show one approach for visualizing how data is distributed. This example shows a method that lets you visualize where a particular data value … Continue reading

## Draw a scaled normal distribution in C#

The example Draw a normal distribution curve in C# shows how to draw a normal distribution. Unfortunately for some means and standard deviations, the result may not be very useful. For example, Figure 1 shows a normal distribution where the … Continue reading

## Draw a normal distribution curve in C#

A normal distribution is a probability distribution that occurs arise when you analyze seemingly “random” occurrences. You can define a normal distribution in terms of its mean and standard deviation. Mean (μ) This is the basically the average of the … Continue reading