Statistics is a crucial tool used in Machine Learning. To generate the optimum result of the data collected for the development of the Machine Learning systems, statistics is very important.
Edureify, the best AI Learning App has come up with some of the best online coding courses that teach students the A-Z of the Statistics of Machine Learning. In this article, Edureify will particularly focus on the Central Tendencies, a type of Descriptive Statistics that helps visualize the raw data collected in a more legible format.
Read on to know about the 3 measures of Central Tendencies along with examples.
About the Measures of Central Tendency
Central Tendency is one of the two primary types of Descriptive Statistics. The three measures of Central Tendency help to summarize a dataset with a single value. This value is the data distribution’s center. The measure gives information about the center of the data points.
The Three Measures of Central Tendency
The three Measures of Central Tendency are-
- Mean
- Median
- Mode
Mean
Mean calculates the average value of the dataset. The following are the steps to calculate the mean-
- Step 1- See what is the number of data values, say it is x
- Step 2- Calculate the sum of the data values and let the sum be y
- Step 3- Finally- Mean= The sum of the data values (y)/ The number of data values (x)
Example-
Consider that in a class of 5 children, the results are as follows- 15, 37, 22, 31, 40. Now calculate the mean.
Solution:
Mean= The sum of the data values (y)/ The number of data values (x)
Therefore, Mean= 15+37+22+31+40/ 5
= 145/5= 29
Answer, Mean= 29
Median
Median calculates the middle value of a dataset. The following are the steps to calculate the median of a dataset that has ‘x’ elements-
- Step 1- Arrange the data in either increasing or decreasing order
- Step 2- Suppose the dataset comprises an odd number of the data values, say x=odd. Here, the middle value of the dataset will be considered as the median. In this case, the median will be the data at the (x+1)/2 place of the dataset.
- Step 3- Suppose here the dataset comprises an even number of data values, say, x=even. Here, the median will be the average of the two middle values. In this case, the median will be {(x/2)+1} place of the dataset.
Example 1-
Take the value of the above example only, i.e., Consider that in a class of 5 children, the results are as follows- 15, 37, 22, 31, 40. Now calculate the median.
Solution:
Let us first arrange the value in the increasing order: 15, 22, 31, 37, 40
Here, the middle value is 31.
Therefore, Median= 31
Example 2-
The age of 4 girls in a neighborhood is 15, 7, 22, and 20. Calculate the median.
Solution:
Let us first arrange the value in the increasing order: 7, 15, 20, 22
Here, Median= {(x/2)+1}
First, (x/2)= 4/2= 2
Therefore, {(x/2)+1}= 2+1= 3, i.e., the 3rd place value is the median here.
Therefore, Median= 20
Mode
The most frequently appearing value in a dataset is the mode. The following are the steps to calculate the mode-
- Step 1- Tally the values and infer the total number of times each data appears in the dataset
- Step 2- The maximum tally of a data value is the mode
Example-
The age of 5 young boys is- 7, 7, 10, 5, 9. What is the mode of this dataset?
Solution:
Here, 7 is the most frequently appearing age in the dataset.
Therefore, Mode= 7
These were the 3 Measures of Central Tendency.
Machine Learning utilizes these 3 measures of central tendency to generate the optimum results of the data collected. Edureify with its best online coding courses teaches students all the tools of Machine Learning like-
- Azure Machine Learning
- Machine Learning Algorithms
- No-Code Machine Learning
- The A-Z Statistics of Machine Learning, and other important programming languages and tools.
With Edureify’s coding courses, students will also benefit from-
- 200+ learning hours
- Live classes with the industry experts
- Get doubts solved instantly
- Participate in real-life projects
- Professional career guidance and access to Edureify’s job portal
So wait no more. Study from Edureify’s certified coding courses and improve your skills in Machine Learning.
Some FAQs on the 3 Measures of Central Tendency-
1. Is Central Tendency a type of Descriptive Statistics?
Yes, Central Tendency is one of the two primary types of Descriptive Statistics.
2. What does the value of the Central Tendency do?
The three measures of Central Tendency help to summarize a dataset with a single value. This value is the data distribution’s center. The measure gives information about the center of the data points.
3. What are the 3 measures of Central Tendency?
The 3 measures of Central Tendency are-
- Mean
- Median
- Mode
4. Are the steps to calculate the Median same for odd and even number of values in a dataset?
No, the steps to calculate the Median are not the same for odd and even numbers of values in a dataset.
5. From where can I learn more about the Central Tendency of Machine Learning?
Edureify with the best online coding courses teaches all the important skills of Machine Learning including the Central Tendency of Machine Learning.