Statistics Tutorials: Mean, median and mode

365 Data Science · Beginner ·🛠️ AI Tools & Apps ·8y ago

Key Takeaways

This video tutorial covers the concepts of mean, median, and mode, including their calculations, advantages, and disadvantages, using examples of pizza prices in New York City and Los Angeles to illustrate their applications.

Full Transcript

this lesson will introduce you to the three measures of central tendency don't be scared by the terminology we are talking about mean median and mode even if you are familiar with these terms please stick around as we will explore their upsides and shortfalls ready let's go the first measure we will study is the mean also known as the simple average it is denoted by the Greek letter mu for a population and x-bar for a sample these notions will come in handy in the next section we can find the mean of a data set by adding up all of its components and then dividing them by the number of components contained in the data set the mean is the most common measure of central tendency but it has a huge downside it is easily affected by outliers let's compare these two datasets these are the prices of Pizza at 11 different locations in New York City and 10 different locations in LA let's calculate the means of the two data sets using the formula for the mean in NYC we get 11 dollars whereas for LA just 5.5 on average Pizza New York can't be twice as expensive as in LA right correct the problem is that in our sample we have included one posh place in New York where they charge $66 for pizza and this doubled the mean what we should take away from this example is that the mean is not enough to make definite conclusions so how can we protect ourselves from this issue you guessed it we can calculate the second measure the median the median is basically the middle number in an ordered data set let's see how it works for our example in order to calculate the median we have to order our data set in ascending order the median of the data set is the number at position n plus one divided by two in the ordered list where n is the number of observations therefore the median for NYC is at the six position or $6 much closer to the observed prices than the mean of eleven dollars right what about LA we have just ten observations in LA according to our formula the median is at position five point five in cases like this the median is the simple average of the numbers at positions five and six therefore the median of LA prices is five point five dollars okay we have seen that the median is not affected by extreme prices which is good when we have posh New York restaurants in a Street pizza sample but we still don't get the full picture are the majority of restaurants low cost or average we must introduce another measure the mode the mode is the value that occurs most often it can be used for numerical and categorical data but we will stick to our numerical example after counting the frequencies of each value we find that the mode of New York Pizza prices is three dollars now that's interesting the most common price of pizza in NYC is just three dollars but the mean and median led us to believe it was much more expensive okay let's do the same and find the mode of la Pizza prices hmm each price appears only once how do we find the mode then well we say that there is no mode but can I say that there are ten modes you may ask sure you can but it will be meaningless with ten observations and an experienced statistician would never do that in general you often have multiple modes usually two or three modes are tolerable but more than that would defeat the purpose of finding a mode there is one less question that we haven't answered which measure is best the NYC and LA example shows us that measures of central tendency should be used together rather than independently therefore there is no best but using only one is definitely the worst for more videos like this one please subscribe

Original Description

👉Sign up for Our Complete Data Science Training with 57% OFF: https://bit.ly/3sJATc9 👉 Download Our Free Data Science Career Guide: https://bit.ly/47Eh6d5 This video will introduce you to the three measures of central tendency: mean, median and mode. Even if you are familiar with these terms, please stick around, as we will explore their upsides and shortfalls. The first measure we will study is the mean, also known as the simple average. It is denoted by the Greek letter mu for a population and x bar for a sample. These notions will come in handy in the next section. We can find the mean of a data set by adding up all of its components and then dividing them by the number of components contained in the data set. The mean is the most common measure of central tendency but it has a huge downside – it is easily affected by outliers So, how can we protect ourselves from this issue? You guessed it, we can calculate the second measure – the median. The median is basically the ‘middle’ number in an ordered data set. Finally, the mode is the value that occurs most often. It can be used for both numerical and categorical data. ► Consider hitting the SUBSCRIBE button if you LIKE the content: https://www.youtube.com/c/365DataScience?sub_confirmation=1 ► VISIT our website: https://bit.ly/365ds 🤝 Connect with us LinkedIn: https://www.linkedin.com/company/365datascience/ 365 Data Science is an online educational career website that offers the incredible opportunity to find your way into the data science world no matter your previous knowledge and experience. We have prepared numerous courses that suit the needs of aspiring BI analysts, Data analysts and Data scientists. We at 365 Data Science are committed educators who believe that curiosity should not be hindered by inability to access good learning resources. This is why we focus all our efforts on creating high-quality educational content which anyone can access online. Check out our Data Science Care
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from 365 Data Science · 365 Data Science · 3 of 60

1 Population vs Sample
Population vs Sample
365 Data Science
2 Data Science & Statistics: Levels of measurement
Data Science & Statistics: Levels of measurement
365 Data Science
Statistics Tutorials: Mean, median and mode
Statistics Tutorials: Mean, median and mode
365 Data Science
4 Skewness
Skewness
365 Data Science
5 What is a distribution?
What is a distribution?
365 Data Science
6 The Normal Distribution
The Normal Distribution
365 Data Science
7 Central limit theorem
Central limit theorem
365 Data Science
8 Student's T Distribution
Student's T Distribution
365 Data Science
9 Type I error vs Type II error
Type I error vs Type II error
365 Data Science
10 Hypothesis testing. Null vs alternative
Hypothesis testing. Null vs alternative
365 Data Science
11 The linear regression model
The linear regression model
365 Data Science
12 Simple linear regression model. Geometrical representation
Simple linear regression model. Geometrical representation
365 Data Science
13 INDEX and MATCH application of the two functions separately and combined [Advanced Excel]
INDEX and MATCH application of the two functions separately and combined [Advanced Excel]
365 Data Science
14 INDIRECT Excel Function: How it works and when to use it [Advanced Excel]
INDIRECT Excel Function: How it works and when to use it [Advanced Excel]
365 Data Science
15 VLOOKUP and MATCH another useful functions combination [Advanced Excel]
VLOOKUP and MATCH another useful functions combination [Advanced Excel]
365 Data Science
16 VLOOKUP COLUMN and ROW - Handle large data tables with ease [Advanced Excel]
VLOOKUP COLUMN and ROW - Handle large data tables with ease [Advanced Excel]
365 Data Science
17 The ELIF keyword [Python Fundamentals]
The ELIF keyword [Python Fundamentals]
365 Data Science
18 Working with Tuples in Python
Working with Tuples in Python
365 Data Science
19 Database Terminology - A Beginners Guide
Database Terminology - A Beginners Guide
365 Data Science
20 Relational Database Essentials
Relational Database Essentials
365 Data Science
21 Database vs Spreadsheet - Advantages and Disadvantages
Database vs Spreadsheet - Advantages and Disadvantages
365 Data Science
22 Conditional Statements and Loops
Conditional Statements and Loops
365 Data Science
23 Backpropagation – The Math Behind Optimization
Backpropagation – The Math Behind Optimization
365 Data Science
24 Monte Carlo: Forecasting Stock Prices Part I
Monte Carlo: Forecasting Stock Prices Part I
365 Data Science
25 Monte Carlo: Forecasting Stock Prices Part II
Monte Carlo: Forecasting Stock Prices Part II
365 Data Science
26 Monte Carlo: Forecasting Stock Prices Part III
Monte Carlo: Forecasting Stock Prices Part III
365 Data Science
27 365 Data Science Online Program
365 Data Science Online Program
365 Data Science
28 Data frames - Creating a data frame
Data frames - Creating a data frame
365 Data Science
29 Data Science & Statistics: Slicing a matrix in R
Data Science & Statistics: Slicing a matrix in R
365 Data Science
30 Data frames in R - Exporting data in R
Data frames in R - Exporting data in R
365 Data Science
31 Data frames in R - Transforming data PART II
Data frames in R - Transforming data PART II
365 Data Science
32 Data Frames in R - Subsetting a data frame
Data Frames in R - Subsetting a data frame
365 Data Science
33 Data Science & Statistics: Matrix arithmetic in R
Data Science & Statistics: Matrix arithmetic in R
365 Data Science
34 Data Science & Statistics: Indexing an element from a matrix
Data Science & Statistics: Indexing an element from a matrix
365 Data Science
35 Data Frames in R - Extending a data frame
Data Frames in R - Extending a data frame
365 Data Science
36 Data Science & Statistics: Creating a matrix in R FASTER
Data Science & Statistics: Creating a matrix in R FASTER
365 Data Science
37 Data Science & Statistics: Creating a Matrix in R
Data Science & Statistics: Creating a Matrix in R
365 Data Science
38 Data frames - Importing data in R
Data frames - Importing data in R
365 Data Science
39 Data frames in R - Getting a sense of your data
Data frames in R - Getting a sense of your data
365 Data Science
40 Data frames in R - Transforming data PART I
Data frames in R - Transforming data PART I
365 Data Science
41 Data frames in R - Import a CSV in R
Data frames in R - Import a CSV in R
365 Data Science
42 Data Science & Statistics: Matrix operations in R
Data Science & Statistics: Matrix operations in R
365 Data Science
43 Data Science & Statistics: Matrix recycling in R
Data Science & Statistics: Matrix recycling in R
365 Data Science
44 Tableau vs Excel: When to use Tableau and when to use Excel
Tableau vs Excel: When to use Tableau and when to use Excel
365 Data Science
45 Download Tableau: Learn how to download Tableau Public
Download Tableau: Learn how to download Tableau Public
365 Data Science
46 Connecting data sources: Useful tips when connecting data sources to Tableau
Connecting data sources: Useful tips when connecting data sources to Tableau
365 Data Science
47 The Tableau interface: See how to navigate through the Tableau interface
The Tableau interface: See how to navigate through the Tableau interface
365 Data Science
48 Tableau data visualization: Create your first Tableau visualization!
Tableau data visualization: Create your first Tableau visualization!
365 Data Science
49 Duplicating sheets: This is how to duplicate a sheet in Tableau
Duplicating sheets: This is how to duplicate a sheet in Tableau
365 Data Science
50 Build a table in Tableau: The steps needed to create a simple table in Tableau
Build a table in Tableau: The steps needed to create a simple table in Tableau
365 Data Science
51 Custom fields in Tableau: Using Tableau operators to create custom fields
Custom fields in Tableau: Using Tableau operators to create custom fields
365 Data Science
52 Custom fields in Tableau: Add calculations to tables through custom fields
Custom fields in Tableau: Add calculations to tables through custom fields
365 Data Science
53 Totals in Tableau: Learn how to display subtotals and totals in Tableau
Totals in Tableau: Learn how to display subtotals and totals in Tableau
365 Data Science
54 Gross Margin calculation in Tableau
Gross Margin calculation in Tableau
365 Data Science
55 What is a filter in Tableau: Set up a filter in Tableau to specify the data you want to show
What is a filter in Tableau: Set up a filter in Tableau to specify the data you want to show
365 Data Science
56 Joins in Tableau: Inner, outer, left, or a right join in Tableau
Joins in Tableau: Inner, outer, left, or a right join in Tableau
365 Data Science
57 Building a Tableau dashboard: Three types of charts you want to have in a Tableau dashboard
Building a Tableau dashboard: Three types of charts you want to have in a Tableau dashboard
365 Data Science
58 Creating great looking charts in Tableau: Real life Exercise on charts in Tableau
Creating great looking charts in Tableau: Real life Exercise on charts in Tableau
365 Data Science
59 Joins in Tableau: Choose the correct join type
Joins in Tableau: Choose the correct join type
365 Data Science
60 How to make a data check in Tableau: A quick data check is better than no data check
How to make a data check in Tableau: A quick data check is better than no data check
365 Data Science

This video tutorial introduces the concepts of mean, median, and mode, and explains how to calculate and apply them to real-world data sets, highlighting their advantages and disadvantages.

Key Takeaways
  1. Calculate the mean of a data set by adding up all its components and dividing by the number of components
  2. Calculate the median of a data set by ordering the data and finding the middle number
  3. Calculate the mode of a data set by identifying the value that occurs most often
  4. Apply these measures of central tendency to a real-world example, such as pizza prices in different cities
💡 Measures of central tendency should be used together rather than independently to get a more accurate picture of the data

Related Reads

📰
How I Built a Free Online Image & PDF Processing Platform with Vue 3 + FastAPI
Learn how to build a free online image and PDF processing platform using Vue 3 and FastAPI, and discover the benefits of combining these technologies for efficient file processing
Dev.to · IAMUU
📰
I Built a Free AI-Powered YouTube SEO Toolkit With Zero Budget. Here’s What Actually Happened.
Learn how a solo dev built a free AI-powered YouTube SEO toolkit with zero budget and the lessons they learned from the experience
Medium · Startup
📰
How to Create a Second Version of Yourself Inside Obsidian Using AI (Step-by-Step Guide)
Learn to create a second version of yourself inside Obsidian using AI with a step-by-step guide
Medium · ChatGPT
📰
How to prepare for Spain civil service TIC exam using AI in 2026
Learn how to prepare for the Spain civil service TIC exam using AI in 2026, boosting your chances of success with technology-driven study techniques
Dev.to · David García
Up next
I Asked Gemini to Build a Dashboard... I Didn't Expect This
Patech
Watch →