Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

Sampling Techniques in Data Analysis

6 min readSep 6, 2023

--

Press enter or click to view image in full size
Photo by Ryoji Iwata on Unsplash

Considerable emphasis is given to the analytical methods and algorithms used in data science projects, extracting meaningful insights from data and discovering valuable information. But equally as important (arguably even more important) is the data preparation prior to beginning a project; the quality of the data is the bedrock on which any data analysis or machine learning project is based on. It would be naive to expect quality outputs from an analysis with subpar data inputs — garbage in garbage out, as the saying goes. Therefore it’s essential to ensure that the data samples collected are of sufficient quality. But how to choose the appropriate sampling technique for your data?

Press enter or click to view image in full size
Photo by Ian Parker on Unsplash

In this post I intend to provide an overview of some sampling techniques for data collection, and give suggestions on how to pick the most optimal methods for your data. The sampling methods I will describe here are as follows:

  1. Simple random sampling
  2. Stratified sampling
  3. Cluster sampling
  4. Systematic sampling

--

--

John Lenehan
John Lenehan

Written by John Lenehan

Let Our Actions Inspire | Data Scientist & Machine Learning Engineer | All ideas and opinions expressed are my own | Find my work at johnlenehan.eu

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.