Questions tagged [kurtosis]

Kurtosis is a statistical measure, which characterizes the extreme data (outlier) character of a distribution compared with the normal distribution. Positive (excess) kurtosis indicates a distribution that is more outlier-prone than a normal distribution. Negative (excess) kurtosis indicates a distribution that is less outlier-prone than a normal distribution.

Overview

From Wikipedia:

In probability theory and statistics, kurtosis (from Greek: κυρτός, kyrtos or kurtos, meaning "curved, arching") is a measure of the "tailedness" of the probability distribution of a real-valued random variable. In a similar way to the concept of skewness, kurtosis is a descriptor of the shape of a probability distribution and, just as for skewness, there are different ways of quantifying it for a theoretical distribution and corresponding ways of estimating it from a sample from a population. Depending on the particular measure of kurtosis that is used, there are various interpretations of kurtosis, and of how particular measures should be interpreted.

The standard measure of kurtosis, originating with Karl Pearson, is based on a scaled version of the fourth moment of the data or population. This number is related to the tails of the distribution, not its peak;[1] hence, the sometimes-seen characterization as "peakedness" is mistaken. For this measure, higher kurtosis is the result of infrequent extreme deviations (or outliers), as opposed to frequent modestly sized deviations.


Tag usage

Questions on tag should be about implementation and programming problems, not about the statistical or theoretical properties of the concept. Consider whether your question might be better suited to Cross Validated, the StackExchange site for statistics, machine learning and data analysis.

48 questions
0
votes
2 answers

How to use map function with Kurtosis on a 61 column 87 row matrix

I have the following data set mydata <- datasets::volcano install.packages('e1071') library(e1071) library(tidyverse) #load required libraries head(mydata) # quick view of the data. #Part 1 #Calculating kurtosis and new measure with apply from base…
0
votes
1 answer

launch-local-near-cluster.sh script launch problem

I'm trying to configure local.test network and I'm getting error with after this ~/launch-local-near-cluster.sh. In attached you will see more details about this error. Link where I'm following instruction…
Terry
  • 63
  • 3
  • 10
0
votes
1 answer

calculating kurtosis and skew for every array in a 4d array

I have a 4d array of arrays where for example, a[0] looks like this : array([[[135, 105, 95], [109, 78, 60], [101, 78, 54], ..., [ 32, 21, 22], [ 32, 21, 23], [ 35, 28, 31]], [[144,…
0
votes
1 answer

can I return 0 instead of Nan with DolphinDB kurtosis?

Function kurtosis in DolphinDB returns Nan for data with all zeros. Python returns 0 for such data, is there any way to adjust the two to be consistent?
Polly
  • 603
  • 3
  • 13
0
votes
1 answer

Kurtosis remains constant over different shaped normal distributions?

I want to explore the normal distribution with the same mean, but changing std. I expect that the Kurtosis will change with the std, but in my results the Kurtosis stays constant? What is the issue here? At first I generated some normal distribution…
0
votes
1 answer

Calculation is done only on part of the table

I am trying to calculate the kurtosis and skewness over a data and I managaed to create table but for some reason teh result is only for few columns and not for the whole fields. For example, as you cann see, I have many fields (columns): I…
Reut
  • 1,555
  • 4
  • 23
  • 55
0
votes
1 answer

Error in display kurtosis and skewness on graph

I have found in this forum a code that suppose to calcualte and display the skewness and kurtosis on a histogram. This is the code as I have used on my plot: sns.distplot(data['HR90'], color="blue", bins=15, kde=True) ax.text(x=0.97, y=0.97,…
Reut
  • 1,555
  • 4
  • 23
  • 55
0
votes
0 answers

How to fix "object 'n' not found" using MASS library package in R?

I am trying to find the skewness for the variable galaxies in the MASS data library I have outlined the formula for skewness, then loaded the MASS package, defined galaxies dataset, but get an error as n is undefined in the skewness formula. I am…
0
votes
1 answer

Estimate the probability density of a given value if it belongs to a highly peaked multivariate dataset with high kurtosis (>100)

I have a dataset that have multiple variables with each of them heavily centered around zero to form a high peak. The kurtosis of each variable is more than 100. What I want to estimate is the probability density of any given value if it belongs…
Jinny
  • 1
0
votes
1 answer

What are the default expressions of skewness and kurtosis used in Scipy?

Scipy's (to date, version 0.19.1) Statistical Functions module (aka scipy.stats) contains the functions of scipy.stats.skew and scipy.stats.kurtosis to compute skewness and kurtosis of a data set (3rd and 4th statistical moments, respectively).…
Herpes Free Engineer
  • 2,425
  • 2
  • 27
  • 34
0
votes
2 answers

Reverse engineer a new set of points from an original set by altering moments, skew, and/or Kurtosis?

I don't know if this is even possible but I'd like to be able to take a set of points, run something on them that calculates the moments, skew and kurtosis values, and have another function that would take those elements and reverse engineer a new…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
1 answer

how to get skewness value from array in golang

I want to get skewness and kurtosis of math statistics in golang. But I can't find any external package in golang. I found the skewness function of a JavaScript in github site. But the value of this function is different to R example code.... …
J.soo
  • 233
  • 1
  • 3
  • 9
0
votes
1 answer

Matlab: Image segmentation using first order moments

I'm writing a code that allows the user to choose some regions in an image and then I shall show the image with the regions in gray (different gray level for each different region). The user doesn't have to choose every region in the image, so if…
0
votes
1 answer

why is my kurtosis a negative number?

I am trying to calculate the kurtosis of a vector of numbers, the expected value is 1.5, however i get -1.5. Is there something i am missing from this code? Thanks in advance using namespace boost::accumulators; accumulator_set
godzilla
  • 3,005
  • 7
  • 44
  • 60