Understanding Skewness in Excel

  • Context: Undergrad 
  • Thread starter Thread starter FrostScYthe
  • Start date Start date
Click For Summary
SUMMARY

The forum discussion centers on the discrepancies between skewness calculations in Excel and a user-defined formula. The user, Ted, calculates skewness using the formula g_1 = m_3 / m_2^{3/2} and obtains a result of 1.33630621 for a specific data set, while Excel returns 1.619847741. It is confirmed that Excel employs a different formula for skewness, specifically \frac{n}{(n-1)(n-2)} \sum{\left(\frac{x - \bar{x}}{s}\right)^2}. The conversation highlights the lack of a universally accepted method for calculating skewness.

PREREQUISITES
  • Understanding of statistical concepts such as skewness and its significance.
  • Familiarity with Excel functions and formulas for statistical analysis.
  • Knowledge of sample statistics, including mean and standard deviation.
  • Basic algebra for interpreting and manipulating mathematical formulas.
NEXT STEPS
  • Research the differences between sample skewness and population skewness calculations.
  • Learn how to implement custom statistical functions in Excel using VBA.
  • Explore alternative software tools for statistical analysis, such as R or Python's SciPy library.
  • Study the implications of skewness in data interpretation and its impact on statistical modeling.
USEFUL FOR

Statisticians, data analysts, Excel users, and anyone interested in understanding and calculating skewness in datasets.

FrostScYthe
Messages
80
Reaction score
0
Hi everyone,

I'm using the following formula to calculate skewness

g_1 = \frac{m_3}{m_2^{3/2}} <br /> = \frac{\tfrac{1}{n} \sum_{i=1}^n (x_i-\overline{x})^3}{\left(\tfrac{1}{n} \sum_{i=1}^n (x_i-\overline{x})^2\right)^{3/2}}\ ,

However, when I try excel on to calculate skewness I get a different results. For example this set:

1
1
1
1
1
1
1
9
9

I get: 1.33630621
Excel gets: 1.619847741

Is excel using a different formula, or am I doing something wrong? O_o

Ted.
 
Physics news on Phys.org
I believe Excel uses this:

<br /> \frac n {(n-1)(n-2)} \sum{\left(\frac{x - \bar x}{s}\right)^2}<br />
 
Any particular reason why
excel uses a different formula?


Ted.
 
FrostScYthe said:
Any particular reason why
excel uses a different formula?


Ted.

I can't really answer why their choice was made. Note that unlike the mean (for example) there are several quantities proposed to estimate skewness, and none is really preferred as "the correct way" to do it.
 

Similar threads

Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K