Main Page

Descriptive Statistics

What is Descriptive Statistics?

Descriptive statistics basically describes us the general information about given data

In descriptive analysis we can do two types of analysis.These are central tendency measurements and measures of variability

Central Tendency Measurements

This measurements are like you can understand from the name is about the center of the data.

We frequently use three of them.Arithmetic mean,Mode,Median.

4,6,6,7,10,11,14

Let's calculate;

Arithmetic mean: ((4+6+6+7+10+11+12)/7) = 8

Mode is the most repeated values in the given data.So it is 6 in this data.

Median is the middle number if we sort from smallest to largest.So it is 7 in this data.

Measures of Variability

Range-Midrange and Box-plots

Box-plots are a very effective way to visualize the range of data.We use quantiles to describe the box-plot points. Range metric is the (Largest observation - Smallest observation).Mid-range is ((Largest observation+Smallest observation)/2).

Let's say the median of 200 students exam grade is 72 out of 100.If we know the lowest and highest grades we can visualize it in box-plot as quantiles. Let's say lowest grade is 25 and highest is 95.Let's draw a box-plot with Python's matplotlib and seaborn.

Variance and Standard Deviation

The variance is simply about highlighting some values based on their distance to the mean.

Standard deviation is about the homogenity around arithmetic mean.

2,3,10,15,17,20

Let's calculate these around the data above.

Population-Sample Variance

There may be times that we don't know all about a populations data.That means we may have a sample data from given population that nearly enough to describe a population.

Let's say we have a population of people that play videogames daily.We have a sample of we know how many hours sample members plays daily. If we want to estimate this populations total variance, how can we estimate from sample variance?

Sample data: 0.5,2,4,5,6,6.5

There are two ways to estimate population variance by sample variance as you see above. The reason why we should use (n-1) is because we are estimating a population metric, it can be more accurate and unbiased in most cases.

My Twitter Account My Github Account My LinkedIn Account