- [Instructor] We import packages and load the grade data set. Here's the histogram. The percentage of citizens who gave the mayor a failing grade is 43%, as we can find with side by stats, percentile of score. Let's build a bootstrap distribution for this passing fraction by sampling with replacement and repeating 1,000 times.
I apply the same statistic, but we sample from the data frame and extract the grade. Next, I repeat 1,000 times and collect the results in a data frame. Let's histogram the bootstrap distribution.
And then find the 2.5% and 97.5% quantiles. Thus, the 95% confidence interval is 33% to 52% for the percentage of citizens who think the mayor is failing. Overall, she very likely has the support of a majority of citizens.
- Installing and setting up Python
- Importing and cleaning data
- Visualizing data
- Describing distributions and categorical variables
- Using basic statistical inference and modeling techniques
- Bayesian inference
Skill Level Intermediate
R Statistics Essential Trainingwith Barton Poulson5h 59m Intermediate
SPSS Statistics Essential Trainingwith Barton Poulson4h 57m Beginner
1. Installation and Setup
2. Importing and Cleaning Data
3. Visualizing and Describing Data
4. Introduction to Statistical Inference
5. Introduction to Statistical Modeling
Next steps1m 55s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.