

In this case we will have a right skewed distribution (positive skew). I prefer to call the data I work with “mydata”, so here is the command you would use for that: Although the step of “loading” this dataset isn’t required, it’s a good practice to get familiar with 🙂 R has a variety datasets already built into it. How to calculate the sum of values in R.How to calculate standard deviation in R.

Kurtosis – the measurement of “sharpness” of the peak of the probability distribution.īelow are the steps we are going to take to make sure we do master descriptive statistics in R:

Skewness – the measure of asymmetry or “skew” of the probability distribution. Standard deviation – the measurement of variation of a set of numbers. Variance – the squared deviation of a random variable from its mean. Mode – the value that appears most often in the set of number. Median – the value between the higher half and lower half of a set of numbers. Mean – the central value of a set of numbers. The area of coverage includes mean, median, mode, standard deviation, skewness, and kurtosis. In this article we will learn about descriptive statistics in R.
