Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
martinmich
Contributor II
Contributor II

Exact mathematical formulas for SKEW() and KURTOSIS() chart functions

Hello experts.
 
There could be different mathematical formulas for SKEW() and KURTOSIS() chart functions, e.g. just 3 different definitions are mentioned 1.3.5.11. Measures of Skewness and Kurtosis (nist.gov)
 
We would like to know exact formula implemented by Qlik for script function and also for the chart function. 
 
 

Unfortunately, For Kurtosis and Skew function official documentation does not mention exact implementation:
https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/Statistica...
 
Can Qlik developers check and provide some clarity on this? 

Many thanks ahead. Regards, Martin 
Labels (5)
1 Solution

Accepted Solutions
igoralcantara

I created a video answering your question at Data Voyagers. Please check here:

https://www.datavoyagers.net/post/the-math-behind-skewness-and-kurtosis-in-qlik

Check out my latest posts at datavoyagers.net

View solution in original post

6 Replies
igoralcantara

I do not know any documentation where this is disclaimed, but this is an interesting topic of investigation. Let’s wait to see if anyone here knows. If not, maybe I could do a little investigation, comparing the different parameters in R and see which one matches the results presented by Qlik.

Check out my latest posts at datavoyagers.net
martinmich
Contributor II
Contributor II
Author

Yes it would be indeed great if Developers can provide the formula which is specified in the code but if this is not possible, we will probably have to do some "reverse engineering".

igoralcantara

Ok, as soon as I find some time I will work on it.

Check out my latest posts at datavoyagers.net
igoralcantara

Good news. I believe I will have that video published by Monday. Stay tuned.

Check out my latest posts at datavoyagers.net
igoralcantara

I created a video answering your question at Data Voyagers. Please check here:

https://www.datavoyagers.net/post/the-math-behind-skewness-and-kurtosis-in-qlik

Check out my latest posts at datavoyagers.net
martinmich
Contributor II
Contributor II
Author

Hello, Igoral. 

 

Thanks! All this looks very explanatory, and the formulas are there, so it is explicitly clear. In other words, now we know how Qlik processes data to obtain results for SKEW() and KURTOSIS().

 

Just one question: Is it possible to use weights within the formulas for the data? 

 

Regards, Martin