AI Hints
Home›Statistics & Math for ML Tutorial›Residuals and Many Features
Statistics & Math for ML · Lesson 75 of 138

Regression Quiz

Test yourself.

⏱ 2 min read▶ Video at 1:28:16🎓 Free
Watch this lesson in the Statistics & Math for ML courseWatch on YouTube ↗Full Statistics & Math for ML course

Let's check what you know about correlation and regression. Pause before each answer.

Regression Quiz
From the video: Regression Quiz
  • Four questions
  • Pause and think
  • Then listen

Question 1

A correlation of minus zero point nine means what? The answer is a strong negative relationship. As one goes up, the other goes down.

Quick check
r = −0.9?

Question 2

Shark attacks and ice cream sales are correlated. Why? The answer is a confounder, hot weather, drives both.

Quick check
Sharks and ice cream?

Question 3

What does least squares minimize? The answer is the sum of squared errors.

Quick check
Least squares minimizes?

Question 4

Residuals make a U shape. What should you try? The answer is adding a curved term, like X squared.

Quick check
U-shaped residuals?

Summary

Well done. Next, a new section, linear algebra, the language of machine learning, starting with vectors.

Key takeaways
  • r from −1 to 1
  • Beware confounders
  • Check residuals
Next up: Vectors — lists with direction