Saturday, January 12, 2013

2012 Review


2012 was a busy year for SDI.  We completed the development and pre-release of SDI Tools v4.  Revamped the SDI website (www.stat-design.com) to improve navigation, provide more information for you to use, and support automated license delivery for the SDI Tools v4 software.  In addition, we joined with Haruo Tomizu in Japan to release the Japanese version of the SDI Tools.  Haruo will manage the SDI-Japan office and will support our clients with SDI Tools sales, applications and training in Japan (www.statdesign-j.com).

We want to thank you for your continued support in 2012 and the comments and feedback provided to assist us with the product updates.  We hope that you had a safe and enjoyable Holiday Season and we look forward to working with you in 2013.

As always, please contact us if you have any questions, need assistance, or have ideas on how we can better serve your needs.

Regards,

George Chollar
Jesse Peplinski
Garron Morris
Michael Elliott
Haruo Tomizu

Tuesday, June 21, 2011

Using Mean, Standard Deviation, Skewness, and Kurtosis

Previous blogs have discussed the properties of the first four moments which can be computed from a data set. The next step is to use these easily computed statistics in everyday applications. When presented with a set of data, it is important to understand what information may be hidden in the “sea of numbers”. We know that the Mean gives us the central tendency of the data, the Standard Deviation explains the dispersion about the Mean, the Skewness represents the symmetry/asymmetry of the data, and the Kurtosis is related to the shape or peakedness characteristics. In essence, we are using these numerical quantities to explain the properties of the underlying distribution or probability density function (PDF). These statistics can be used to qualitatively perform distribution fitting for you data.

Since a set of data can have any Mean and Standard Deviation, we can use these statistics to determine the location and relative dispersion. Using the Skewness and Kurtosis, we can learn much more as shown in the table below;



Skewness

Kurtosis*
Classical
Distribution
0
1.8
Uniform PDF


Any negative number
2.4
Left-skewed Triangular PDF


0
2.4
Symmetric Triangular PDF


Any positive number
2.4
Right-skewed Triangular PDF


0
3
Normal PDF


0.63
3.26
Raleigh PDF


2
9
Exponential PDF



Using this information, you can make as-like comparisons of your data to the properties of some of the known classical distribution. While you may not be able to conclude that the data set is from a population with a particular distribution, you will be able to infer that “based on the data, the uncertainty is representative of that of a _______ distribution”.

*Note that these quantities are for Kurtosis where 3 = Normal PDF. If quantities for Excess of Kurtosis, where 0 = Normal PDF, are desired, then subtract 3 from the values shown.

Tuesday, May 31, 2011

Skewness and Kurtosis

In our previous blog entry, we discussed how a probability distribution can be described using the first four moments which are mean, variance/standard deviation, skewness, and kurtosis. Mean and standard deviation were described and now we will talk about skewness and kurtosis.

Skewness: The measurement of the asymmetry of a random variable is a dimensionless quantity called skewness (b1)^0.5, which is calculated from the second and third moments about the mean of a distribution. If (b1)^0.5 < 0 the distribution is negatively skewed (tail to left) and if (b1)^0.5 > 0 the distribution is positively skewed (tail to the right). The equations for calculating skewness from data are:


Distributions that are: (a) positively skewed with tail to the right (b1)^0.5  > 0, (b) centered (b1)^0.5  = 0, and (c) negatively skewed with tail to the left (b1)^0.5  < 0. Red lines are means.


Kurtosis: A dimensionless quantity that characterizes the peakedness of a random variable is called kurtotsis b2, which is calculated from the fourth and second moments of the distribution about the mean. If b2 >> 3, the distribution has a high peak and for b2 =1.8, the distribution becomes flat. At b2=3, the distribution is normal



(a) distribution with a high peak (b2  >> 3), (b) normal distribution (b2  = 3), (c) flat (uniform) distribution with (b2  =1.8).

In Excel, the functions SKEW and KURT can be used to calculate skewness and kurtosis, respectively. Be warned -- the Excel KURT function calculates the "Excess of Kurtosis" relative to a normal distribution.  In Excel, KURT will return 0 for a normal distribution rather than the value of 3 found in statistics textbooks.  We suggest that you add 3 to any to value returned by the KURT function when presenting data.

=KURT(A1:A10) + 3

Sunday, May 15, 2011

Mean and Standard Deviation

A random variable is defined by a distribution that has one or more variables that describe location, shape and scaling. (The term distribution is used in six sigma to denote a probability density function). Practically, a distribution can be described by:

  • mean 
  • variance or standard deviation 
  • skewness 
  • kurtosis 

Once mean, standard deviation, skewness, and kurtosis are calculated or assumed, the relevant location, shape, and scaling variables can be computed.

Mean
The expected (or average) value for the distribution of a random variable xbar is the mean and it can be calculated from sample data as follows:



where xi are the value for n data points. Mean is also called the first moment of a distribution about zero (this is the same things as a centroid – the distribution is rotated around zero).

Means (red lines) for different distributions.


Variance and Standard Deviation
The measurement of spread of a random variable is called variance σ^2 and the square root of variance is called standard deviation σ. This is equivalent to taking the second moment of a distribution around it’s mean.



Distributions with increasing standard deviation (a) to (c). Red lines are means

Friday, May 13, 2011

Chebychev’s Inequality

There is a neat theorem in statistics called Chebychev’s Inequality that states: for any distribution with a mean and standard deviation σ, at least 1 - (1/k^2) percent of the distribution is within ±kσ of the mean.  For normal distributions, the percent within ±kσ of the mean is exactly known. 





Percent of distribution that fall within ±kσ of the mean.
k
Any Distribution
Normal
1
-----
68.3%
1.415
50.0%
84.3%
2
75.0%
95.5%
3
88.9%
99.7%
4
93.8%
99.99%
5
96.0%
99.99994%
6
97.2%
99.9999998%

I think this is pretty useful.  You don't have to worry if the distribution is skewed, peaked, or flattened.  Chebychev's Inequality will always give you the minimum percent that falls within ±kσ.  It's a shame that this is not more widely used in engineering design or business decision making.