Is kurtosis in excess when using the function from pyspark module?

335 Views Asked by At

When using the kurtosis function from the pyspark module pyspark.sql.functions.kurtosis(col), is the result in excess of the Normal distribution? ie. is 3 already subtracted from the kurtosis to yield k-3? Or would we have to calculate the excess ourselves?

1

There are 1 best solutions below

0
On BEST ANSWER

I could be wrong, but since pyspark gives negative values for its kurtosis, I assume that it is excess kurtosis which it has already subtracted 3 from its calculation.