STATISTICS- Variance and Standard Devation

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

Key Takeaways

Covers the concepts of variance and standard deviation, including their calculation and interpretation in statistics and machine learning

Full Transcript

hello all my name is Krishna and welcome to my youtube channel now in this particular video I'm going to discuss about a very important topic which is called as variance and standard deviation and we understand this topic with respect to statistics and machine learning also in my previous video I have already explained you about main median and mode and I'm going to take the same example of sample of heights so this is my sample of distribution these all are basically in centimeters and suppose if I find out the mean as 160 3.5 now what does variance how to calculate variance will try to understand how to calculate standard deviation and then we'll also understand what is the importance of variance and standard deviation so to begin with if I want to calculate the variance the formula is 1 by n summation of I is equal to 1 to n X of I minus mu whole square so this mu is basically my mean ok so I am going to use this now when I compute this variance we will try to understand what does variance and standard deviation specify the next formula is basically standard deviation is equal to root of fees now suppose after calculating this I hope you can calculate it by using all this values and suppose here I get basically 10 suppose my standard deviation is basically 10 let me specify what this standard deviation basically specify standard deviation helps us to find out the spread right in our distribution how the spread is with respect to different different values that are present over here suppose my mean over here is 160 3.5 now if I see my standard deviation is 10 again guys I just have approximately written it you can calculate it there will be some different value it's fine but I'm just going to consider 10 to make you understand so what this basically says if I go to the right hand side of this mean which is basically my one standard deviation see this this value is basically my if I consider this this is my one standard deviation okay one standard deviation to the right one standard deviation to the left okay similarly if I consider this this is my two standard deviations similarly if I consider this this is my three standard deviation okay so this basically indicates that if I move one point to the right my next value that will be probably in one standard deviation is somewhere around 164 point five okay because I'm adding up ten into this value similarly if I go one step right again it will be sorry it should not be 164 it should be 173 0.5 okay and similarly if I go here it'll be 183 point five then one ninety three point five okay so 193 for him five is outside the third standard deviation similarly if I go to the rat left okay so this basically indicates it will be 150 three point five one forty three point five and one thirty three point five because if we are going to the left that basically means you are subtracting it because this is my median right if I go to the right that value basically increases if I go to the left that value basically in decreases and this is again this curve is basically called as Gaussian distribution guys why I am creating this shape why this will form a bell shape because understand this height usually follows a normal distribution or Gaussian distribution and who is saying this I am NOT saying it these are basically explained by domain expertise people who are basically measuring height height weight and other parameters like age and all right so this is what this standard deviation specifies it specifies the spread of the value within the distribution and this is basically my spread when concerned and when I'm considering one standard deviation 1 standard deviation spirit is around 10 value so if I move to the right it will always get added as 10 if I move towards the left it will always be you know subtract 10 okay which is my standard deviation and this was all about radians and standard deviation and this is also very very important guys because let me consider an example for you let me explain it okay you will be seeing again I'll take the same feature H I'm based on this particular age feature also if you try to see the values in your data set okay in your data set so suppose your values are like 23 24 27 30 to 31 26 and if you try to see this distribution in the form of histogram okay and then you construct something called as probability density function you will be finding that you'll be forming a shape like this which is basically called as Gaussian distribution again what will be the importance of that I will be explaining about about that in the next videos because Gaussian distribution follows some properties and that properties we can also apply to this particular data set for our statistical analysis so this is the important of variance and standard deviation to know that okay so I'll be discussing more about this in my next video I hope you like this particular video please do subscribe the channel if you have not already subscribe I'll see you all in the next video have a great day thank you one and all [Music]

Original Description

In this video we are going to understand the Variance and the Standard Deviation 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 on Finance with Machine Learning and D
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

📰
Introducing Alpha Capital Bank: How I’m Transitioning from Data Science to Credit Risk by Building…
Learn how to transition from data science to credit risk by building a project-based journey in banking and quantitative finance
Medium · Machine Learning
📰
multiple linear regression in scratch [P]
Implement multiple linear regression from scratch in Scratch, a beginner-friendly programming environment
Reddit r/MachineLearning
📰
Classifying heartbeats as normal or abnormal, and being honest about when it stops working
Learn to classify heartbeats as normal or abnormal using machine learning and understand the importance of acknowledging limitations in medical AI models
Medium · Machine Learning
📰
AI Inference, Explained the Way I Wish Someone Had Explained It to Me
Learn the difference between AI training, fine-tuning, serving, and inference to improve your AI architecture meetings
Medium · Machine Learning
Up next
Part 2 | MLOps On GitHub | Deploy and Automate ML Workflow |Using GitHub Actions and CML for CI & CD
Abonia Sojasingarayar
Watch →