Statistical inference for data science (The Course)
$129.00
Minimum price
$179.00
Suggested price

Course Info

This course includes 5 attempts.

The ideal reader for this book will be quantitatively literate and has a basic understanding of statistical concepts and R programming.  The book gives a rigorous treatment of the elementary concepts in statistical inference from a classical frequentist perspective. After reading this book and performing the exercises, the student will understand the basics of hypothesis testing, confidence intervals and probability. Check out the status of the book at github https://github.com/bcaffo/LittleInferenceBook

Share

Course Material

  • 1. Introduction
  • Before beginning
  • About the picture on the cover
  • Statistical inference defined
  • Motivating example: who’s going to win the election?
  • Motivating example: predicting the weather
  • Motivating example: brain activation
  • Summary notes
  • Artboard 3 Created with Sketch.
    Exercise 1
  • The goals of inference
  • Artboard 3 Created with Sketch.
    Exercise 2
  • The tools of the trade
  • Artboard 3 Created with Sketch.
    Exercise 3
  • Different thinking about probability leads to different styles of inference
  • Artboard 3 Created with Sketch.
    Exercise 4
  • Paper Exercises
  • Artboard 3 Created with Sketch.
    Exercise 5
  • icon/quiz Created with Sketch.
    Quiz 13 attempts allowed
  • 2. Probability
  • Artboard 3 Created with Sketch.
    Exercise 6
  • Where to get a more thorough treatment of probability
  • Kolmogorov’s Three Rules
  • Artboard 3 Created with Sketch.
    Exercise 7
  • Consequences of The Three Rules
  • Example of Implementing Probability Calculus
  • Artboard 3 Created with Sketch.
    Exercise 8
  • Random variables
  • Probability mass functions
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 9
  • Probability density functions
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 10
  • CDF and survival function
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 11
  • Quantiles
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 12
  • Paper Exercises
  • icon/quiz Created with Sketch.
    Quiz 23 attempts allowed
  • 3. Conditional probability
  • Conditional probability, motivation
  • Conditional probability, definition
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 13
  • Bayes’ rule
  • Diagnostic tests
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 14
  • Diagnostic Likelihood Ratios
  • HIV example revisited
  • Artboard 3 Created with Sketch.
    Exercise 15
  • Independence
  • Example
  • Case Study
  • Artboard 3 Created with Sketch.
    Exercise 16
  • IID random variables
  • Artboard 3 Created with Sketch.
    Exercise 17
  • Paper Exercises
  • icon/quiz Created with Sketch.
    Quiz 33 attempts allowed
  • 4. Expected values
  • The population mean for discrete random variables
  • The sample mean
  • Example Find the center of mass of the bars
  • The center of mass is the empirical mean
  • Example of a population mean, a fair coin
  • What about a biased coin?
  • Example Die Roll
  • Artboard 3 Created with Sketch.
    Exercise 18
  • Continuous random variables
  • Example
  • Facts about expected values
  • Simulation experiments
  • Standard normals
  • Averages of x die rolls
  • Averages of x coin flips
  • Artboard 3 Created with Sketch.
    Exercise 19
  • Summary notes
  • Artboard 3 Created with Sketch.
    Exercise 20
  • Paper Exercises
  • Artboard 3 Created with Sketch.
    Exercise 21
  • icon/quiz Created with Sketch.
    Quiz 43 attempts allowed
  • 5. Variation
  • The variance
  • Example
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 22
  • The sample variance
  • Artboard 3 Created with Sketch.
    Exercise 23
  • Simulation experiments
  • Simulating from a population with variance 1
  • Variances of x die rolls
  • Artboard 3 Created with Sketch.
    Exercise 24
  • The standard error of the mean
  • Summary notes
  • Simulation example 1: standard normals
  • Simulation example 2: uniform density
  • Simulation example 3: Poisson
  • Simulation example 4: coin flips
  • Artboard 3 Created with Sketch.
    Exercise 25
  • Data example
  • Artboard 3 Created with Sketch.
    Exercise 26
  • Summary notes
  • Artboard 3 Created with Sketch.
    Exercise 27
  • Paper Exercises
  • icon/quiz Created with Sketch.
    Quiz 53 attempts allowed
  • 6. Some common distributions
  • The Bernoulli distribution
  • Artboard 3 Created with Sketch.
    Exercise 28
  • Binomial trials
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 29
  • The normal distribution
  • Reference quantiles for the standard normal
  • Shifting and scaling normals
  • Example
  • Example
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 30
  • The Poisson distribution
  • Rates and Poisson random variables
  • Example
  • Poisson approximation to the binomial
  • Example, Poisson approximation to the binomial
  • Artboard 3 Created with Sketch.
    Exercise 31
  • Paper Exercises
  • Artboard 3 Created with Sketch.
    Exercise 32
  • icon/quiz Created with Sketch.
    Quiz 63 attempts allowed
  • 7. Asymptopia
  • Asymptotics
  • Limits of random variables
  • Law of large numbers in action
  • Law of large numbers in action, coin flip
  • Discussion
  • Artboard 3 Created with Sketch.
    Exercise 33
  • The Central Limit Theorem
  • CLT simulation experiments
  • Die rolling
  • Coin CLT
  • Artboard 3 Created with Sketch.
    Exercise 34
  • Confidence intervals
  • Example CI
  • Example using sample proportions
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 35
  • Simulation of confidence intervals
  • Artboard 3 Created with Sketch.
    Exercise 36
  • Poisson interval
  • Example
  • Simulating the Poisson coverage rate
  • Artboard 3 Created with Sketch.
    Exercise 37
  • Summary notes
  • Artboard 3 Created with Sketch.
    Exercise 38
  • Paper Exercises
  • icon/quiz Created with Sketch.
    Quiz 73 attempts allowed
  • 8. t Confidence intervals
  • Small sample confidence intervals
  • Gosset’s t distribution
  • Code for manipulate
  • Summary notes
  • Example of the t interval, Gosset’s sleep data
  • Artboard 3 Created with Sketch.
    Exercise 39
  • The data
  • Artboard 3 Created with Sketch.
    Exercise 40
  • Independent group t confidence intervals
  • Confidence interval
  • Artboard 3 Created with Sketch.
    Exercise 41
  • Mistakenly treating the sleep data as grouped
  • ChickWeight data in R
  • Artboard 3 Created with Sketch.
    Exercise 42
  • Unequal variances
  • Artboard 3 Created with Sketch.
    Exercise 43
  • Summary notes
  • Artboard 3 Created with Sketch.
    Exercise 44
  • Paper Exercises
  • Artboard 3 Created with Sketch.
    Exercise 45
  • icon/quiz Created with Sketch.
    Quiz 83 attempts allowed
  • 9. Hypothesis testing
  • Hypothesis testing
  • Example
  • Artboard 3 Created with Sketch.
    Exercise 46
  • Types of errors in hypothesis testing
  • Artboard 3 Created with Sketch.
    Exercise 47
  • Discussion relative to court cases
  • Building up a standard of evidence
  • Artboard 3 Created with Sketch.
    Exercise 48
  • General rules
  • Summary notes
  • Example reconsidered
  • Artboard 3 Created with Sketch.
    Exercise 49
  • Two sided tests
  • Artboard 3 Created with Sketch.
    Exercise 50
  • T test in R
  • Artboard 3 Created with Sketch.
    Exercise 51
  • Connections with confidence intervals
  • Two group intervals
  • Example chickWeight data
  • Artboard 3 Created with Sketch.
    Exercise 52
  • Exact binomial test
  • Artboard 3 Created with Sketch.
    Exercise 53
  • Paper Exercises
  • Artboard 3 Created with Sketch.
    Exercise 54
  • icon/quiz Created with Sketch.
    Quiz 93 attempts allowed
  • 10. P-values
  • Introduction to P-values
  • What is a P-value?
  • Artboard 3 Created with Sketch.
    Exercise 55
  • The attained significance level
  • Artboard 3 Created with Sketch.
    Exercise 56
  • Binomial P-value example
  • Artboard 3 Created with Sketch.
    Exercise 57
  • Poisson example
  • Artboard 3 Created with Sketch.
    Exercise 58
  • Paper Exercises
  • Artboard 3 Created with Sketch.
    Exercise 59
  • icon/quiz Created with Sketch.
    Quiz 103 attempts allowed
  • 11. Power
  • Power
  • Artboard 3 Created with Sketch.
    Exercise 60
  • Question
  • Artboard 3 Created with Sketch.
    Exercise 61
  • Notes
  • Artboard 3 Created with Sketch.
    Exercise 62
  • T-test power
  • Artboard 3 Created with Sketch.
    Exercise 63
  • Paper Exercises
  • icon/quiz Created with Sketch.
    Quiz 113 attempts allowed
  • 12. The bootstrap and resampling
  • The bootstrap
  • Example Galton’s fathers and sons dataset
  • Artboard 3 Created with Sketch.
    Exercise 64
  • The bootstrap principle
  • The bootstrap in practice
  • Nonparametric bootstrap algorithm example
  • Example code
  • Summary notes on the bootstrap
  • Artboard 3 Created with Sketch.
    Exercise 65
  • Group comparisons via permutation tests
  • Permutation tests
  • Artboard 3 Created with Sketch.
    Exercise 66
  • Variations on permutation testing
  • Permutation test B v C
  • Artboard 3 Created with Sketch.
    Exercise 67
  • Paper Exercises
  • Artboard 3 Created with Sketch.
    Exercise 68
  • icon/quiz Created with Sketch.
    Quiz 123 attempts allowed

Instructors

    • Brian Caffo, PhD is a professor in the Department of Biostatistics at the Johns Hopkins Bloomberg School of Public Health. Along with Roger Peng and Jeff Leek, Dr. Caffo created the Data Science Specialization on Coursera. Dr. Caffo is leading  expert in statistics and biostatistics and is the recipient of the PECASE award, the highest honor given by the US Government for early career scientists and engineers.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub