Learn about querying data; scatter plots; logarithmic plots; and plot marker color and size.
- [Instructor] Plotting two variables together…lets us hypothesize and inspect…possible relations between them.…Do they rise and fall together,…is it possible that the change in one,…is causing the change in the other?…Formally, we say that we would like to explain the variation…in a response variable as a function of the variation…in an explanatory variable.…We'll go back to the Gapminder global dataset,…and first load packages.…
A simple thing to do,…is to plot a variable using the date…as the explanatory variable.…This is known as a time series.…For instance I'll look at a population…of my country of origin, Italy.…I will first down select the data.…In Pandas we plot two variables together,…with plot.scatter.…
And we just give it the two variables.…We see that in this dataset,…points become denser after 1950.…The slope of the plot doesn't change very much,…something like this would be very different for China,…or for India.…Let's try.…
Going back to Italy, let's look at income per person per day…in 2011 equivalent dollars,…
Author
Released
7/17/2018- 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
Duration
Views
Related Courses
-
Statistics Foundations: 1
with Eddie Davila2h 6m Beginner
-
Introduction
-
Welcome1m 9s
-
Using the exercise files1m 2s
-
-
1. Installation and Setup
-
2. Importing and Cleaning Data
-
The structure of data1m 52s
-
Create tidy data tables5m 20s
-
Introducing pandas7m 28s
-
Data cleaning12m 6s
-
-
3. Visualizing and Describing Data
-
The power of visualization7m 12s
-
Describe distributions5m 3s
-
Plot distributions7m 34s
-
More quantitative variables7m 58s
-
Plot categorical variables4m 30s
-
Personal email analytics10m 10s
-
-
4. Introduction to Statistical Inference
-
Statistical inference1m 27s
-
Confidence intervals9m 30s
-
Bootstrapping7m 10s
-
Hypothesis testing7m 34s
-
-
5. Introduction to Statistical Modeling
-
Statistical modeling1m 35s
-
Fitting models to data7m 36s
-
Goodness of fit6m 13s
-
Cross validation6m 22s
-
Logistic regression5m 30s
-
Bayesian inference9m 14s
-
-
Conclusion
-
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.
CancelTake 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.
Share this video
Embed this video
Video: Plots of two quantitative variables