Learn about the least squares criterion, fitting linear models, tilde formula notation, intercept, main terms, interaction terms, and grand and group means.
- [Instructor] To demonstrate how we fit…a model to data in Python,…we go back to the Gapminder data set.…You first load packages.…(computer keys clicking)…Disregard this warning, which is basically meant…for package maintainers.…I have already prepared code…to select Gapminder data from year 1985,…the year of Live Aid,…and to make a scatter plot of child survivor rates…versus babies per woman using colors to denote regions…and dot sizes to express populations.…
Let's try it out.…(computer keys clicking)…We fit models using the very powerful…Python package, Statsmodels.…We will only scratch the surface of what Statsmodels can do…and we will default to its OLS method.…OLS stands for ordinary least squares.…Least squares means that models are fit…by minimizing the sum of square differences…between model predictions and observations.…Furthermore, ordinary here means that the model coefficients…appear lineally in the model formulas.…
That is, they multiply explanatory variables…or functions of explanatory variables.…But, do not worry too much about these technical details.…
- 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.