Math and Statistics For AI, Data Science
Learn the key concepts of Math and Statistics that lay the foundations for a strong data science career. This course is carefully curated to simulate real-time organizational experience to prepare you for the current job market and at the same time provides you with an ultimate learning experience through storytelling and intuitive explanations.
5.0
(169 Verified ratings)
Last Updated: Feb 27, 2026 12:25 AM
|English
Free Lifetime Access
No Experience
Needed
Start from scratch
and build up
Flexible
Schedule
Learn at your
own pace
Get
Job-Ready
Acquire essential
job skills
Created by:
Dhaval PatelThis course includes:
- 12h:49m:38s on-demand videos
- 98 Lectures
- 17 Exercises
- 19 Quizzes
- Access on any Device
- Certificate of completion
Free Lifetime Access
No Experience Needed
Start from scratch
and build up
Flexible Schedule
Learn at your
own pace
Get Job-Ready
Acquire essential
job skills
Course Curriculum
98 Lectures | 12h:49m:38s
1:
Welcome to Math and Statistics Experience
7 Lectures
-
1.1: Importance of Math and Stats in Data Science Career
Free -
1.2: How Is This Course Different from Other Courses on the Internet?
Free -
1.3: What Support Do You Provide If I Have Questions?
Free -
1.4: Who Should Take This Course?
Free -
1.5: Pre-requisites
Free -
1.6: System Requirements
Free -
1.7: Course Overview
Free
5:
Pandas, Matplotlib and Seaborn Basics
8 Lectures
-
5.1: Pandas Introduction and Installation
Free -
5.2: Dataframe Basics
Free -
5.3: Read, Write Excel and CSV Files
Free -
5.4: Handle Missing Data - Part 1
Free -
5.5: Handle Missing Data - Part 2
Free -
5.6: Grouping Data
Free -
5.7: Data Concatenation and Merging
Free -
5.8: Data Visualization with Matplotlib and Seaborn
Free
6:
Measures Of Central Tendency and Dispersion
18 Lectures
-
6.1: Descriptive vs. Inferential Statistics
Free -
6.2: Measures of Central Tendency: Mean, Median, Mode
Free -
6.3: Percentile
-
6.4: Analysis: Shoe Sales (Using Mean, Median, Percentile)
-
6.5: Quiz
-
6.6: Exercise
-
6.7: Measures of Dispersion: Range, IQR
-
6.8: Box or Whisker Plot
-
6.9: Outlier Treatment Using IQR and Box Plot
-
6.10: Quiz
-
6.11: Exercise
-
6.12: Measures of Dispersion: Variance and Standard Deviation
-
6.13: Analysis: Stock Returns Volatility (Using Variance and Std Dev)
-
6.14: Correlation
-
6.15: Correlation vs Causation
-
6.16: Quiz
-
6.17: Exercise
-
6.18: Chapter Summary
10:
Phase 1: Find Target Market
21 Lectures
-
10.1: Data Validation Of Acquired Data
-
10.2: Data Understanding, MySQL Setup
-
10.3: Data Import in Jupyter Notebook
-
10.4: Data Cleaning: Handle NULL Values (Annual Income)
-
10.5: Data Cleaning: Treat Outliers (Annual Income)
-
10.6: Data Visualization: Annual Income
-
10.7: Exercise: Treat Outliers in Age Column
-
10.8: Exercise Solution: Treat Outliers in Age Column
-
10.9: Data Visualization: Age, Gender, Location
-
10.10: Peter’s Nightmare
-
10.11: Data Cleaning: Credit Score Table - Part 1
-
10.12: Data Cleaning: Credit Score Table - Part 2
-
10.13: Correlation among Credit Profile Variables
-
10.14: Exercise: Handle NULL Values in Transactions Table
-
10.15: Exercise Solution: Handle NULL Values in Transactions Table
-
10.16: Peter’s Confusion: IQR or Std Dev?
-
10.17: Data Cleaning: Treat Outliers using IQR (Transaction Amount)
-
10.18: Data Visualization: Transactions Table
-
10.19: Finalize the Target Group
-
10.20: Phase 1 Feedback Meeting With Stakeholders
-
10.21: Get Ready For Phase 2
11:
Central Limit Theorem
12 Lectures
-
11.1: Random Sampling & Sample Bias
-
11.2: The Law of Large Numbers
-
11.3: Central Limit Theorem, Sampling Distribution
-
11.4: Case Study: Solar Panels
-
11.5: Standard Error
-
11.6: Quiz
-
11.7: Z Score Table (Z-Table)
-
11.8: Quiz
-
11.9: Confidence Interval
-
11.10: Confidence Interval: Estimate Car Miles
-
11.11: Exercise
-
11.12: Chapter Summary
12:
Hypothesis Testing
19 Lectures
-
12.1: Null vs Alternate Hypothesis
-
12.2: Z Test, Rejection Region
-
12.3: Housing Inflation Test: Rejection Region
-
12.4: Quiz
-
12.5: Exercise
-
12.6: p-Value
-
12.7: Housing Inflation Test: p-Value
-
12.8: Quiz
-
12.9: Exercise
-
12.10: One-Tailed vs Two-Tailed Test
-
12.11: Type 1 and Type 2 Errors
-
12.12: Quiz
-
12.13: Statistical Power & Effect Size
-
12.14: A/B Testing
-
12.15: A/B Testing Using Z Test
-
12.16: A/B Testing: Drug Trial
-
12.17: Quiz
-
12.18: Exercise
-
12.19: Chapter Summary
What our learners experience
Our content is rated 5.0/5 from 2193+ Learners
Thank you Dhaval Sir and the entire Codebasics team for coming up with such courses which are super rare to find. Totally worth taking it. All the concepts were taught very easily and very intuitively so that we can grasp and digest the fundamentals within no time. The best part I like about the courses on codebasics.io is that they try to replicate real industry experiences in the form of Peter Panday and Tony Sharma. Well done. Keep up the good work. Will take every course from codebasics.io which is relevant for me. Cheers !!
Landed a Job
Best course I've found till now. I am studying all of these math & stats topics after 14 years of engineering, but the way Dhaval sir explains it won't make you feel the gap. He is a wonderful teacher. Thank you Dhaval Sir.
The exercises given after every topic will help you understand the topic in a better way.
I highly recommend this course. Go for it without a doubt if you know a little bit of Python.
When I first started the Codebasics Maths & Statistics course, I had a decent amount of theoretical knowledge but no real idea of how to apply it. I knew what mean and median were, but the thought of actually using them on a messy, real-world dataset felt completely foreign. This course changed that for me.
The journey began with the fundamentals, which were explained in a way that actually stuck. The way the instructor broke down continuous vs. discrete data, or the difference between nominal and ordinal categories, was so intuitive. It wasn’t just about memorizing definitions; it was about understanding the "why" behind the data types. The best part was how quickly we moved from theory to practice.
I really appreciated that the course didn't just show me charts; it taught me the art of choosing the right one. Learning when a histogram is better than a bar chart or when a horizontal bar is the only sensible choice for long category labels felt like a superpower. This is the kind of practical, decision-making knowledge that’s hard to get from a textbook but is critical for a Data Scientist.
However, the game-changer for me was the bank project. Moving from isolated concepts to analyzing a dataset with over 50,000 records and cleaning it using Python felt like my first real job simulation. There was a moment when I was stuck on whether to use IQR or Standard Deviation for outlier treatment, and the course material didn't just give the formula; it walked through the logic of checking the distribution first and even showed how a Senior Data Scientist would guide a Junior through that confusion. It made me feel less like a student and more like a practitioner.
The modules on hypothesis testing were particularly transformative. The concepts of A/B testing, P-values, and Type I/II errors were always abstract to me. But the A/B testing module, using the example of "Tylenol 2.0" and then applying it to the AtliQo bank's credit card launch, brought it all to life. I finally understood how a business manager and a data scientist communicate to make data-driven decisions that have a real financial impact. Learning to interpret a p-value not just as a number, but as a business risk assessment, was a major win.
What I liked most was the balance. The course provided the mathematical backbone with clear formulas and statistical notation, but it always brought it back to a business story. Whether it was a legal analogy for hypothesis testing or a panipuri challenge for p-values, the examples made the math relatable and memorable. For someone like me, who aims to be a bridge between data and business decisions, this approach was exactly what I needed.
If I had one critique, it would be that the pace can sometimes feel fast when covering a dense topic like Bayesian statistics, but the provided notes are a fantastic resource for revisiting concepts. The final A/B testing analysis on the credit card project was the ultimate test, and completing it successfully gave me the confidence to believe I can actually handle real-world business problems. If you're looking for a stats course that feels like a practical apprenticeship rather than just a theory lecture, this is it.
To be honest, I tried many courses. But this one couse is superb. And I highly recommend this course to everyone who want to learn Statistics and Math practically.
Thanks Codebasics!
Data Scientist & AI Engineer
I recently completed the Statistics course by Dhaval Patel sir , and it has helped me a lot! Even though I was already somewhat familiar with statistics, this course made my concepts super clear ✅. The explanations are practical, easy to understand, and really boosted my confidence.
This course is just a part of the entire Data Science course, and after completing the entire course, I am really excited and motivated 💪. I would love to join and contribute to in the future! ❤️
Student
System Requirements
- Any computer with 4GB or more RAM
- OS: Windows, Mac, or Linux
Course Instructor/Creator
Dhaval Patel
Data Entrepreneur (17+ Years),
YouTuber,
Ex - Bloomberg, NVIDIA
I have 17 years of experience in Programming and Data Science working for big tech companies like NVIDIA and Bloomberg. I also run a famous YouTube channel called Codebasics where I pursue my passion for teaching.
Get Certified
When You Complete This Course
You receive a ‘Certificate of Completion’ signed and addressed personally by me, your guide and mentor. – Dhaval Patel
Add and share this certificate with your Resume/CV or on your LinkedIn profile.
Frequently Asked Questions
Q.1
How does this online 'Math & Statistics' course streamline the learning process for essential data science skills?
This course simplifies learning Math and Statistics through project-based learning with a real dataset, focusing on practical data science applications. With engaging storytelling, simple explanations, and interactive exercises, including quizzes, ensures a comprehensive and accessible learning experience. A certificate upon completion further validates your learning journey.
Q.2
What is different in this course compared to hundreds of courses on the internet and free tutorials on YouTube?
Most of the courses available on the internet teach you how to build x & y without any business context and do not prepare you for real-world problem-solving. However, our 'Math & Statistics' course offers a unique experience in which you will learn by solving real-life use cases in an imaginary company called AtliQo Bank. The tutorials are easy to understand, featuring elements of fun to keep the learning process engaging.
Q.3
What dataset is used in this course? Is it some toy dataset or something that mimics a real-world problem?
In the early stages of the course, we introduce fundamental concepts using a variety of small datasets. As the course progresses, we engage with the 'AtliQo Credit Card' data which centers around a dataset from the fictional AtliQo Bank. This project provides a hands-on experience in data validation, cleaning, and visualization, reflecting a realistic scenario where the bank aims to enhance its credit card market penetration. This dataset contains over half a million records.
Q.4
What is the duration of this 'Math & Statistics' course?
The 'Math & Statistics' course consists of 11 hours and 34 minutes of on-demand video content.
Q.5
Is this course part of the Data Analytics Bootcamp?
No, this course is not part of our data analytics curriculum. Nevertheless, mastering the concepts of mathematics and statistics will significantly enhance your analytical ability.
Q.1
What are the things I need to know before starting this course? Also, will it help me learn 'Math & Statistics' from scratch for data science?
This 'Math & Statistics' course is designed for absolute beginners, so you don't need any specific skills other than basic familiarity with computers. It's the perfect starting point for anyone looking to embark on a data science journey.
Q.2
How can I get help if I have any doubt and need support?
We have an active Discord server where you can post your questions. You can expect to receive a response in a reasonable timeframe.
Q.1
Can I add this course to my resume
Yes. Absolutely you can mention AtliQo Bank project experience in your resume with the relevant skills that you will learn from this course.
Q.2
I’m not sure if this 'Math & Statistics' course is good enough for me to invest some money. What can I do?
Don't worry. Many videos in this 'Math & Statistics' course are free, allowing you to gauge the quality of teaching before making an investment. Dhaval Patel, the course instructor, runs a popular data science YouTube channel called Codebasics. There, you can watch his videos and read comments to get an idea of his teaching style.
Q.3
Will I receive a price deduction on the Data Analytics Bootcamp if I enroll in this course?
No. This course is not part of the Data Analytics Bootcamp.
More Courses
Python: Beginner to Advanced For Data Professionals
This project-based learning course will teach Python through hands-on experience with two real-world projects: (1) Data analysis in the hospitality domain and (2) Building an expense tracking system. It is designed for both complete beginners with no prior coding experience and those with some Python knowledge looking to enhance their skills. The course is taught by an industry expert with over 14 years of experience at leading tech companies such as Nvidia and Bloomberg.
SQL Beginner to Advanced For Data Professionals
Beginners to Advanced SQL course for those preparing for a data career (Data Analyst, Data Scientist, or Data Engineer). This course is carefully curated to simulate real-time organizational experience to prepare you for the current job market and at the same time provides you with an ultimate learning experience through a storytelling mode that you would see in movies.
AI for Everyone
This AI Course will teach you the fundamentals and know-hows of AI like it is taught to an 8-year-old and help you to align your career with AI. This will be helpful for anyone who wants to add “AI” in their resume with confidence and without learning to code necessarily.
Created by:
Dhaval PatelThis course includes:
- 12h:49m:38s on-demand videos
- 98 Lectures
- 17 Exercises
- 19 Quizzes
- Access on any Device
- Certificate of completion
Course Preview
/p>
Already Included in Your Bootcamp
You can keep the Bootcamp or replace it with this individual course.