Practice
Resources
Contests
Online IDE
New
Free Mock
Events New Scaler
Practice
Improve your coding skills with our resources
Contests
Compete in popular contests with top coders
logo
Events
Attend free live masterclass hosted by top tech professionals
New
Scaler
Explore Offerings by SCALER

Descriptive Statistics

Last Updated: Jan 10, 2022
Go to Problems
Contents

Measure of Central Tendency

Measures of central tendency, also called measures of a central location, could be defined as a single value that attempts to describe the data by identifying the central position within that set of data. These are also referred to as summary statistics. These measures usually contain: 

Mean:

Generally denoted by the average of the numbers, sum of all the numbers by the total numbers. Mathematically, it is denoted by: arithmetic mean – x-engineer.org


Where the term ‘’ defines mean, ‘Σ Xi’ represents the sum of all data values, and N defines the size of the data space.

E.g.: For an array = [1, 2, 3, 4, 5], mean would be sum of the array / length = 15/5 = 3

 

At times, we get confused about the notations used to represent the mean. Is it 𝛍 or ? In general, 𝛍 is used for the population mean whereas is used for the sample mean.

Mean as a central tendency has certain use-cases and drawbacks as well. Speaking of use-cases, it involves all the data points of the sample or population. Though often the mean is not one of the actual values, it is the value that minimizes the error than all other data points. In addition, it is the central tendency with the sum of deviations of each value from it is always 0.

Given the wide range of applications, it also comes with some constraints. Mean is susceptible to the influence of outliers as it involves all the data points. Speaking of, Median is preferred over mean where we have skewness in the data points. 

 

Median:

The middle element of the numbers when they are sorted in an order. 

Median - Basic Definition with Examples - Teachoo - Median

n denoting the size of the sample space X

E.g., for an array say, [1, 3, 4, 5, 7], the median is the array[4/2] = array[2] = 4

 

Mode:

The most frequently occurring number in the data.

E.g., for an array, say, [1, 3, 2, 3, 4, 5], the mode will be 3 in this case.

It is mainly considered while dealing with categorical values to observe the rank in appearances or the count.

Video Courses
By

View All Courses
Excel at your interview with Masterclasses Know More
Certificate included
What will you Learn?
Free Mock Assessment
Fill up the details for personalised experience.
Phone Number *
OTP will be sent to this number for verification
+1 *
+1
Change Number
Graduation Year *
Graduation Year *
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
*Enter the expected year of graduation if you're student
Current Employer
Company Name
College you graduated from
College/University Name
Job Title
Job Title
Engineering Leadership
Software Development Engineer (Backend)
Software Development Engineer (Frontend)
Software Development Engineer (Full Stack)
Data Scientist
Android Engineer
iOS Engineer
Devops Engineer
Support Engineer
Research Engineer
Engineering Intern
QA Engineer
Co-founder
SDET
Product Manager
Product Designer
Backend Architect
Program Manager
Release Engineer
Security Leadership
Database Administrator
Data Analyst
Data Engineer
Non Coder
Other
Please verify your phone number
Edit
Resend OTP
By clicking on Start Test, I agree to be contacted by Scaler in the future.
Already have an account? Log in
Free Mock Assessment
Instructions from Interviewbit
Start Test