Statistical Thinking in Python (Part 1)

Start Free Preview

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free Preview (Paid Upgrade)
  • Learning style: Self-paced, start anytime
  • Format: Text & Interactive
  • Video access: Streaming Only
  • Before you start: Python Toolbox
DataCamp details
  • Chapters: 4
Available onDataCamp

Course Details
Learning Style

Start Anytime

Level

Intermediate

Study Mode

100% Online

Duration

Short (< 10 Hours)

Languages
Audio Language

English

Outcomes
Certificate

Certificate of Completion

Price & Terms
Pricing Model

Free Preview (Paid Upgrade)

Technical
Content Medium

Text & Interactive

Video Access

Streaming Only

Specification
Access

Subscription

Explore datasets with plots and summary statistics, then simulate discrete and continuous probability distributions in Python as a base for inference.

At a glance
Duration3 hrs
LevelIntermediate
CertificateCertificate of Completion
LanguageEnglish
Taught byJustin Bois
AccessSubscription
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0

This course lays the groundwork for statistical inference in Python, so that the conclusions you draw from a dataset are clear and quantitative. Because data seldom allow anything to be said with absolute certainty, you learn to explore a dataset with plots and a few descriptive numbers, then describe it in the language of probability by simulating the Binomial, Poisson, Normal and Exponential distributions with random numbers.

What You Will Achieve

  • Plot a dataset as a histogram, bee swarm plot or ECDF and read what each view reveals
  • Describe a dataset in a few numbers using means, medians, percentiles, variance and the Pearson correlation coefficient
  • Use the np.random module to simulate Bernoulli trials and draw samples that estimate how often an event occurs
  • Match a real-world story to a probability distribution and simulate it to estimate the chances of an outcome


Program Overview

Graphical and Quantitative Exploratory Data Analysis

Exploring a dataset before any inference, first by plotting all of the data and then by capturing its main features with summary statistics.

  • Histograms, bin counts and axis labels
  • Bee swarm plots and ECDFs
  • Mean, median, percentiles and box plots
  • Variance, covariance and Pearson correlation

Thinking Probabilistically About Discrete Variables

Why inference relies on probability, and how random number generators let you simulate quantities that take only certain values.

  • Hacker statistics with np.random
  • Bernoulli trials and bank defaults
  • The Binomial distribution and its PMF
  • Poisson processes and baseball no-hitters

Thinking Probabilistically About Continuous Variables

Probability density and cumulative distribution functions for values that can take any fraction, applied to the Normal and Exponential distributions.

  • Interpreting PDFs and CDFs
  • Normal distribution properties and warnings
  • Belmont Stakes results and Secretariat’s record
  • The Exponential distribution and waiting times

Certificate Awarded (Paid)


Job Outlook

Plotting, summarizing and simulating data in Python is used in data analytics work, and it forms the base for the statistical inference techniques that the second part of this series takes up.


Our take

Good for: Python users who want to explore datasets and reason about probability through simulation before they study formal statistical inference.

Keep in mind: It stops at describing data and probability distributions; drawing conclusions with inference techniques is the subject of the second part of the series.

Bottom line: Simulation and real examples such as baseball no-hitters and Belmont Stakes times make probability distributions concrete in a short, exercise-driven format.

Frequently Asked Questions

What real examples do the exercises draw on?

The exercises use the iris data for plotting, a bank default scenario for Bernoulli trials, baseball no-hitters for the Poisson distribution, and Belmont Stakes race results, including Secretariat's record, for the Normal and Exponential distributions.

How does the course use random number generators?

The np.random module supplies the random numbers behind simulated Bernoulli trials and samples from the Binomial, Poisson, Normal and Exponential distributions. The lessons call this approach hacker statistics and return to it at the end: if you can describe a story, you can simulate it.

How are discrete and continuous variables treated differently?

Discrete variables take only certain values, such as integers, and are described with probability mass functions. Continuous variables can take any fractional value, so the lessons move to probability density and cumulative distribution functions; most principles carry over, with a few subtleties.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in, then you will return here to post.

×
Report this page
Statistical Thinking in Python (Part 1)
Statistical Thinking in Python (Part 1)
LiveTalent
Logo