What is Mean? Median? Mode? why they are used?

Mean:


Its nothing but Average. 

Well, what is Average?

When you see some scoring Not Higher, Not Lower, but medium marks like 50, 60 etc.. we call them average student.


Example:

Now, I have 5 Students Marks: 10,40,51,68,98

What is the Average mark of this 5 Students?

53.4 is the Average score of 5 students.

How this is calculated?

(10+40+51+68+98) / Number of values.

How many values I have? 10,40,51,68,98 - I have 5 Values.

So, (10+40+51+68+98) / 5

267 / 5

= 53. 4




Mode:


It is the number that is repeating more times in the group of numbers.


Example:

 I have money in my Pocket.

1 - 500 rupees Note, 3 - 100 Rupees Note, 7 - 20 Rupees Note.

Now, tell me which Note I have the Most?

20 Rupees Right? because I have 7 20 rupees Notes. 

Exactly, that is how we check Mode.

If you are given data with numbers (1,2,3,4,5,5,5,5,5,5,6,7,8,9)

You know which is Mode. It is 5, because it is the most available number in this group.


Median:


It is the central Point of data. 

You are traveling from Chennai to Ramanathapuram District, which is 500 Kms. 

You are stopping at exactly 250.5 Kms on the way for Coffee!

Now, you are standing at the Median.


Example:

when you have number (1,2,3,4,5,6,7,8,9,10)

What is the center number here : Both 5 and 6.

But, we cannot keep 2 numbers as Median. So let us find that is the center number for 5 and 6. 

It is 5.5.

The median is 5.5, that is the exact center number.

When you have number (1,2,3,4,5,6,7,8,9,10,11)

What is the Center Number: Its 6.

It is a single Number, so we can keep it as Median.



Mean / Average, Mode, Median are important basic Calculations in data science, but without it, we cannot do machine learning models.

In Fact, without learning these basics, you cannot write codes with bigger formulas.

They will be used in almost all of your data projects.

Comments

Popular posts from this blog

What is Artificial Intelligence? What is Machine Learning? What is Data Science? how they are related to each other?

Linear Algebra - What is it?

What is a Python Library?