STATISTICS- Population VS Sample and it's Importance

Krish Naik · Intermediate ·📐 ML Fundamentals ·6y ago

Key Takeaways

Explains the difference between Population and Sample in statistics and their importance

Full Transcript

[Music] hello all my name is Krishna and welcome to my youtube channel today we are going to be discuss a very important topic which is called as population and sample so let us go ahead and try to understand what is the agenda of this particular video so we will be discussing about what is population then we will try to understand what is sample now based on population and sample there is two more term which is called as population mean will understand the application of so also or application of population mean sample mean with an example so I am going to make you understand what is the population mean this is basically given by mu then I am going to make you understand what is exactly sample mean this is basically given by x-bar right and then I'm going to take a very good example to differentiate between population and sample in my next video I am also going to explain you about something called as random variables so let us go ahead and try to take a very simple example what exactly is population and sample and what is the difference between population mean and sample mean so let us go ahead so let us consider that I want to find out the average height of all the people in in in some particular state so suppose in this particular state they are around 1 million people they are around 1 million people and suppose I want to find out the average height right now with respect to this particular state it may be any state so they are basically 1 million people over here right now I'm going to revise the mean and mean formula also over here so if I want to find out the average height that basically means my formula will basically become 1 by 1 million multiplied by write summation of I is equal to 1 to 1 million right and then here I will basically be using my EXO Phi which is basically represented all these particular points where we are summing up and then we are doing an average of 1 million right over here this 1 million which is basically my total number of people in this particular state can be represented by capital n ok so my capital n over here is 1 million and because of that I have written summation of I is equal to 1 to capital M and I am basically finding out the average of basically all the 1 million people now just understand guys when I have this kind of problem statements like average height of all the people in a particular state it is very very difficult to go and actually find out the height of each and every person right because I can't like 1 million people are staying in this particular state I cannot go and ask what is the height of yours what is the height of I think it is it is very difficult to just calculate all those things so what do we do is that we basically use a new concept which is called as sample okay I'll just define what exactly sample so some suppose this is 1 million total from this what I will be doing is that we will be picking up some randomly 10,000 people okay from this suppose this is my sample and considering my sample population sorry basically my sample out of this particular population now out of this 1 million people I am just taking up a sample of 10,000 people now this 10,000 is basically denoted by small n okay now if I want to find out the average then what I can do is that I can basically write a formula I is equal to 1 to 10,000 right XOR 5 multiplied by 1 by 10,000 yes and not and and you know that we can collect some 10,000 data from this particular population itself I'll give a very good example where this population sample are heavily used ok and again guys when I want to find out this particular a ver egde this is denoted by X bar whereas this particular average which is my population mean so my population means is basically denoted by something called as mu whereas my sample mean is denoted by something called as x-bar okay so this can be considered X bar is equal to summation of I is equal to 1 to 10,000 X of I divided by 10,000 now what is the real use case of this why why we are learning about population and sample let's remember if you if if you have at least done one problem in machine learning problem statement you'll be seeing various data set right in that particular data set you'll be having some fixed number of Records you may be having 1 million records you may be having ten thousand records twenty thousand records and based on that you have to basically perform you have to basically apply some machine learning models to do the prediction now just imagine that ten thousand at twenty thousand that 1 million records are basically your sample from a particular population because it is very very difficult to collect all the data of the population okay so for that particular case what we do is that we just take sample of data and then we try to actually implement some machine learning algorithms let me give you a very good example I hope you have heard of something called as exit poll right so if you want to find out so suppose I'm just going to take an example ok if you if you want to find out which is the favorite party to win in this particular state right or you want to just find out the exit polling shot so I want to find out the exit poll after the election right and I want to see that how all the parties have basically performed ok now from this I cannot go to each and every person now I know that the my population in this state is 1 million people I cannot go and ask each and every person to which party did you vote so what does this news channel and other mediums do that they'll take a sample of chunk of population from every region ok suppose I am considering total number of people over here is selected as ten thousand this ten thousand will be selected equally or in an equal proportion from different different regions and this particular they'll basically record their answers and based on that and now this is mine sample and based on their answers based on their answers or output so based on their sorry based on the answers or input they will basically predict which party will win the election yes which party will basically win the election now not only this guys lot of surveys lot of exit poll surveys other kind of service you know based companies are going to go into the clients and customers to understand about the products it is not that they'll go to each and every person they'll just pick a sample of population then they'll try to ask that particular question and remember guys all of your data set in machine learning how many number of records they are basically a sample of data and you have to use that sample of data and basically create your own machine learning model prediction algorithms right so this is the importance of population and sample now some of the terms that you basically need to know if I want to represent the population count right suppose I want to represent the population count this is basically represented by capital M if I want to represent the sample count sample count basically means total number of values in this population or total number of values in the sample so that is what this count is basically specified so if I want to find out so if I were to represent something for the sample count this is represented by small n okay so capital n in small and if I want to find out if I want to represent what is the population mean this is represented by mu right if I want to represent sample mean this is represented by x-bar okay and you know about variance and standard deviation standard deviation is basically given by Sigma these are some of the notations that you basically use you know whenever you are actually working as a data science if whether you whenever you are working as a data analyst because this is the way you communicate with your team holders for them for making them understand about various terms and this is generic things that B that we basically use I hope you got the idea about population and sample I hope you understood it properly why we are you basically using this I've also give you given your very good practical location so this was all about this video video guys I hope you like this particular video please do subscribe the channel if you have not already subscribe share with all your friends I'll see y'all I'll see y'all in the next video have a great day ahead and one more surprise guys the next video that I'm going to make is something called as random variables I'm also going to discuss about the different types of random variables and again the main thing is that I'm going to take this term and include it in the terms of statistics and machine learning how that is basically implement how what is the main purpose of those in machine learning so I'll see you all in the next video have a great day thank you one at all [Music]

Original Description

In this video we are going to understand about Population and mean and we will understand the difference between them. Support me in Patreon: https://www.patreon.com/join/2340909? Buy the Best book of Machine Learning, Deep Learning with python sklearn and tensorflow from below amazon url: https://www.amazon.in/Hands-Machine-Learning-Scikit-Learn-Tensor/dp/9352135210/ref=as_sl_pc_qf_sp_asin_til?tag=krishnaik06-21&linkCode=w00&linkId=a706a13cecffd115aef76f33a760e197&creativeASIN=9352135210 You can buy my book on Finance with Machine Learning and Deep Learning from the below url amazon url: https://www.amazon.in/Hands-Python-Finance-implementing-strategies/dp/1789346371/ref=as_sl_pc_qf_sp_asin_til?tag=krishnaik06-21&linkCode=w00&linkId=ac229c9a45954acc19c1b2fa2ca96e23&creativeASIN=1789346371 Connect with me here: Twitter: https://twitter.com/Krishnaik06 Facebook: https://www.facebook.com/krishnaik06 instagram: https://www.instagram.com/krishnaik06 Subscribe my unboxing Channel https://www.youtube.com/channel/UCjWY5hREA6FFYrthD0rZNIw Below are the various playlist created on ML,Data Science and Deep Learning. Please subscribe and support the channel. Happy Learning! Deep Learning Playlist: https://www.youtube.com/watch?v=DKSZHN7jftI&list=PLZoTAELRMXVPGU70ZGsckrMdr0FteeRUi Data Science Projects playlist: https://www.youtube.com/watch?v=5Txi0nHIe0o&list=PLZoTAELRMXVNUcr7osiU7CCm8hcaqSzGw NLP playlist: https://www.youtube.com/watch?v=6ZVf1jnEKGI&list=PLZoTAELRMXVMdJ5sqbCK2LiM0HhQVWNzm Statistics Playlist: https://www.youtube.com/watch?v=GGZfVeZs_v4&list=PLZoTAELRMXVMhVyr3Ri9IQ-t5QPBtxzJO Feature Engineering playlist: https://www.youtube.com/watch?v=NgoLMsaZ4HU&list=PLZoTAELRMXVPwYGE2PXD3x0bfKnR0cJjN Computer Vision playlist: https://www.youtube.com/watch?v=mT34_yu5pbg&list=PLZoTAELRMXVOIBRx0andphYJ7iakSg3Lk Data Science Interview Question playlist: https://www.youtube.com/watch?v=820Qr4BH0YM&list=PLZoTAELRMXVPkl7oRvzyNnyj1HS4wt2K- You can buy my book o
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Krish Naik · Krish Naik · 0 of 60

← Previous Next →
1 Natural Language Processing|Stemming
Natural Language Processing|Stemming
Krish Naik
2 Natural Language Processing|BagofWords
Natural Language Processing|BagofWords
Krish Naik
3 Gaussian distribution or Normal Distribution in statisctics
Gaussian distribution or Normal Distribution in statisctics
Krish Naik
4 Natural Language Processing|TF-IDF for Machine Learning| Text Prerocessing
Natural Language Processing|TF-IDF for Machine Learning| Text Prerocessing
Krish Naik
5 Log Normal Distribution in Statistics
Log Normal Distribution in Statistics
Krish Naik
6 Covariance in Statistics
Covariance in Statistics
Krish Naik
7 Confusion matrix, Precision, Recall| Data Science Interview questions
Confusion matrix, Precision, Recall| Data Science Interview questions
Krish Naik
8 Tutorial 44-Balanced vs Imbalanced Dataset and how to handle Imbalanced Dataset
Tutorial 44-Balanced vs Imbalanced Dataset and how to handle Imbalanced Dataset
Krish Naik
9 Implementing a Spam classifier in python| Natural Language Processing
Implementing a Spam classifier in python| Natural Language Processing
Krish Naik
10 Tutorial 11-Exploratory Data Analysis(EDA) of Titanic dataset
Tutorial 11-Exploratory Data Analysis(EDA) of Titanic dataset
Krish Naik
11 Face Recognition using open CV and VGG 16 Transfer Learning
Face Recognition using open CV and VGG 16 Transfer Learning
Krish Naik
12 Pedestrian Detection using OpenCV from Videos
Pedestrian Detection using OpenCV from Videos
Krish Naik
13 Face and Eye Detection from Videos using HAAR Cascade Classifier
Face and Eye Detection from Videos using HAAR Cascade Classifier
Krish Naik
14 Reading, Writing and Displaying images with Opencv| OpenCV Tutorial
Reading, Writing and Displaying images with Opencv| OpenCV Tutorial
Krish Naik
15 OpenCV Installation | OpenCV tutorial
OpenCV Installation | OpenCV tutorial
Krish Naik
16 Face and Eye Detection from Images using HAAR Cascade Classifier
Face and Eye Detection from Images using HAAR Cascade Classifier
Krish Naik
17 Car Detection using HAAR Cascade and Opencv from Videos.
Car Detection using HAAR Cascade and Opencv from Videos.
Krish Naik
18 Using OpenFace for Face recognition in Keras
Using OpenFace for Face recognition in Keras
Krish Naik
19 OpenPose Tutorial with Tensorflow
OpenPose Tutorial with Tensorflow
Krish Naik
20 Multiple Linear Regression using python and sklearn
Multiple Linear Regression using python and sklearn
Krish Naik
21 Dimensional Reduction| Principal Component Analysis
Dimensional Reduction| Principal Component Analysis
Krish Naik
22 Movie Recommender System using Python
Movie Recommender System using Python
Krish Naik
23 TPR,FPR,FNR,TNR, Confusion Matrix
TPR,FPR,FNR,TNR, Confusion Matrix
Krish Naik
24 Precision, Recall and F1-Score
Precision, Recall and F1-Score
Krish Naik
25 Artificial Neural Network for Customer's Exit Prediction from Bank
Artificial Neural Network for Customer's Exit Prediction from Bank
Krish Naik
26 GridSearchCV- Select the best hyperparameter for any Classification Model
GridSearchCV- Select the best hyperparameter for any Classification Model
Krish Naik
27 RandomizedSearchCV- Select the best hyperparameter for any Classification Model
RandomizedSearchCV- Select the best hyperparameter for any Classification Model
Krish Naik
28 K Nearest Neighbor classification with Intuition and practical solution
K Nearest Neighbor classification with Intuition and practical solution
Krish Naik
29 K Means Clustering Intuition
K Means Clustering Intuition
Krish Naik
30 Create custom Alexa Skill- Lambda function- Part2
Create custom Alexa Skill- Lambda function- Part2
Krish Naik
31 Hierarchical Clustering intuition
Hierarchical Clustering intuition
Krish Naik
32 Implement Transfer Learning with a generic Code Template
Implement Transfer Learning with a generic Code Template
Krish Naik
33 Gender Classifier and Age Estimator using Resnet Convolution Neural Network
Gender Classifier and Age Estimator using Resnet Convolution Neural Network
Krish Naik
34 Unlock Your Application With Your Face using OpenCV
Unlock Your Application With Your Face using OpenCV
Krish Naik
35 Draw rectangle from webcam and sketch process it on a live feed
Draw rectangle from webcam and sketch process it on a live feed
Krish Naik
36 Complete Life Cycle of a Data Science Project
Complete Life Cycle of a Data Science Project
Krish Naik
37 How we can apply Machine Learning in Finance
How we can apply Machine Learning in Finance
Krish Naik
38 Deep Learning in Medical Science
Deep Learning in Medical Science
Krish Naik
39 How to switch your career to Data Science.
How to switch your career to Data Science.
Krish Naik
40 Linear Regression Mathematical Intuition
Linear Regression Mathematical Intuition
Krish Naik
41 Handle Categorical features using Python
Handle Categorical features using Python
Krish Naik
42 Machine Learning Algorithm- Which one to choose for your Problem?
Machine Learning Algorithm- Which one to choose for your Problem?
Krish Naik
43 DBSCAN Clustering Easily Explained with Implementation
DBSCAN Clustering Easily Explained with Implementation
Krish Naik
44 Curse of Dimensionality Easily explained| Machine Learning
Curse of Dimensionality Easily explained| Machine Learning
Krish Naik
45 Feature Selection Techniques Easily Explained | Machine Learning
Feature Selection Techniques Easily Explained | Machine Learning
Krish Naik
46 Tutorial 29-R square and Adjusted R square Clearly Explained| Machine Learning
Tutorial 29-R square and Adjusted R square Clearly Explained| Machine Learning
Krish Naik
47 Cross Validation using sklearn and python | Machine Learning
Cross Validation using sklearn and python | Machine Learning
Krish Naik
48 Handling Missing Data Easily Explained| Machine Learning
Handling Missing Data Easily Explained| Machine Learning
Krish Naik
49 Deploy Machine Learning Model using Flask
Deploy Machine Learning Model using Flask
Krish Naik
50 Deployment of Deep Learning Model using Flask
Deployment of Deep Learning Model using Flask
Krish Naik
51 How to Visualize Multiple Linear Regression in python
How to Visualize Multiple Linear Regression in python
Krish Naik
52 K Nearest Neighbour Easily Explained with Implementation
K Nearest Neighbour Easily Explained with Implementation
Krish Naik
53 Predicting Heart Disease using Machine Learning
Predicting Heart Disease using Machine Learning
Krish Naik
54 Predicting Lungs Disease using Deep Learning
Predicting Lungs Disease using Deep Learning
Krish Naik
55 Stock Sentiment Analysis using News Headlines
Stock Sentiment Analysis using News Headlines
Krish Naik
56 Random Forest(Bootstrap Aggregation) Easily Explained
Random Forest(Bootstrap Aggregation) Easily Explained
Krish Naik
57 Voting Classifier(Hard Voting and Soft Voting Classifier)
Voting Classifier(Hard Voting and Soft Voting Classifier)
Krish Naik
58 Credit Card Fraud Detection using Machine Learning from Kaggle
Credit Card Fraud Detection using Machine Learning from Kaggle
Krish Naik
59 Hyperparameter Optimization for Xgboost
Hyperparameter Optimization for Xgboost
Krish Naik
60 Tutorial 45-Handling imbalanced Dataset  using python- Part 1
Tutorial 45-Handling imbalanced Dataset using python- Part 1
Krish Naik

Related Reads

📰
Como construir um modelo preditivo de pedidos no mundo real — parte 2 de 4
Learn to build a predictive order model by teaching the algorithm to understand the business, a crucial step in creating effective machine learning solutions
Medium · Machine Learning
📰
Como construir um modelo preditivo de pedidos no mundo real — parte 2 de 4
Learn to build a predictive order model by teaching an algorithm to understand the business
Medium · Data Science
📰
Como construir um modelo preditivo de pedidos no mundo real — parte 2 de 4
Learn to build a predictive order model in the real world by teaching the algorithm to understand the business
Medium · Deep Learning
📰
Introduction to AI Fundamentals for Engineers, Stupid Simple
Learn the basics of AI fundamentals for engineers and start your journey in Applied AI
Medium · Machine Learning
Up next
Class 16 - Machine Learning ( S 2 25 AIMLZG 565) Prof. Kiruthiga A R 20260517 133304 Meeting Recording
Karthik Sundara Rajan
Watch →