Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

DataCamp

Sampling in R

via DataCamp

Overview

Master sampling to get more accurate statistics with less data.

Sampling is a cornerstone of inference statistics and hypothesis testing. It's tremendously important in survey analysis and experimental design. This course explains when and why sampling is important, teaches you how to perform common types of sampling, from simple random sampling to more complex methods like stratified and cluster sampling. Later, the course covers estimating population statistics, and quantifying uncertainty in your estimates by generating sampling distributions and bootstrap distributions. Throughout the course, you'll explore real-world datasets on coffee ratings, Spotify songs, and employee attrition.

Syllabus

  • Introduction to Sampling
    • Learn what sampling is and why it is useful, understand the problems caused by convenience sampling, and learn about the differences between true randomness and pseudo-randomness.
  • Sampling Methods
    • Learn how to and when to perform the four methods of random sampling: simple, systematic, stratified, and cluster.
  • Sampling Distributions
    • Learn how to quantify the accuracy of sample statistics using relative errors, and measure variation in your estimates by generating sampling distributions.
  • Bootstrap Distributions
    • Learn how to use resampling to perform bootstrapping, used to estimate variation in an unknown population. Understand the difference between sampling distributions and bootstrap distributions.

Taught by

Richie Cotton

Reviews

4.3 rating at DataCamp based on 43 ratings

Start your review of Sampling in R

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.