Skip to main content

Introduction to Statistics in R

59 reviews

Grow your statistical skills and learn how to collect, analyze, and draw accurate conclusions from data.

Start Course for Free
4 Hours15 Videos54 Exercises
75,738 LearnersTrophyStatement of Accomplishment

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Course Description

Statistics is the study of how to collect, analyze, and draw conclusions from data. It’s a hugely valuable tool that you can use to bring the future into focus and infer the answer to tons of questions. For example, what is the likelihood of someone purchasing your product, how many calls will your support team receive, and how many jeans sizes should you manufacture to fit 95% of the population? In this course, you'll use sales data to discover how to answer questions like these as you grow your statistical skills and learn how to calculate averages, use scatterplots to show the relationship between numeric values, and calculate correlation. You'll also tackle probability, the backbone of statistical reasoning, and learn how to conduct a well-designed study to draw your own conclusions from data.
  1. 1

    Summary Statistics


    Summary statistics gives you the tools you need to boil down massive datasets to reveal the highlights. In this chapter, you'll explore summary statistics including mean, median, and standard deviation, and learn how to accurately interpret them. You'll also develop your critical thinking skills, allowing you to choose the best summary statistics for your data.

    Play Chapter Now
    What is statistics?
    50 xp
    Descriptive and inferential statistics
    100 xp
    Data type classification
    100 xp
    Measures of center
    50 xp
    Mean and median
    100 xp
    Mean vs. median
    100 xp
    Measures of spread
    50 xp
    Quartiles, quantiles, and quintiles
    100 xp
    Variance and standard deviation
    100 xp
    Finding outliers using IQR
    100 xp
  2. 2

    Random Numbers and Probability

    In this chapter, you'll learn how to generate random samples and measure chance using probability. You'll work with real-world sales data to calculate the probability of a salesperson being successful. Finally, you’ll use the binomial distribution to model events with binary outcomes.

    Play Chapter Now
  3. 3

    More Distributions and the Central Limit Theorem

    It’s time to explore one of the most important probability distributions in statistics, normal distribution. You’ll create histograms to plot normal distributions and gain an understanding of the central limit theorem, before expanding your knowledge of statistical functions by adding the Poisson, exponential, and t-distributions to your repertoire.

    Play Chapter Now
  4. 4

    Correlation and Experimental Design

    In this chapter, you'll learn how to quantify the strength of a linear relationship between two variables, and explore how confounding variables can affect the relationship between two other variables. You'll also see how a study’s design can influence its results, change how the data should be analyzed, and potentially affect the reliability of your conclusions.

    Play Chapter Now

In the following tracks

Data Analyst with RData Scientist with RData Scientist Professional with RStatistician with RStatistics Fundamentals with R


Collaborator's avatar
Adel Nehme
Collaborator's avatar
Richie Cotton
Maggie Matsui HeadshotMaggie Matsui

Curriculum Manager at DataCamp

Maggie is a Curriculum Manager at DataCamp. She holds a Bachelor's degree in Statistics and Computer Science from Brown University, where she spent lots of time teaching math, programming, and statistics as a tutor and teaching assistant. She's passionate about teaching all things data-related and making programming accessible to everyone.
See More

Don’t just take our word for it

from 59 reviews
Sort by
  • Jan N.
    about 1 month

    Easy to understand and effectivelky structured

  • Soraya R.
    about 1 month

    I think this is a challenging course and, considering I had already done 2 courses in statistics previous to this one, I have to say that having it completed in 4 hours might be way too ambitious a goal. However, regarding the content, I think it is very complete and to the point. Some of the explanations may fall short at times; yet, practice takes you to what needs to get done and how to do it. I'm doing it again as I feel that doing it again will help my memory -this was course 5 in the certificate and I'm starting to wonder how I am going to manage to remember so many functions. But I am also doing it again because I liked it a lot. This is a great course. Thank you.

  • Li D.
    2 months

    Review content required

  • Tadeo H.
    3 months

    Great topics

  • Thomas S.
    3 months

    Clear instruction and frequent use of excellent interactive coding sessions.

"Easy to understand and effectivelky structured"

Jan N.

"Review content required"

Li D.

"Great topics"

Tadeo H.


Join over 12 million learners and start Introduction to Statistics in R today!

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.