Method of Least Squares

STAT 20: Introduction to Probability and Statistics

Concept Questions

Concept Question 1

An engineer working for Waymo self-driving cars is working to solve a problem. When it rains, reflections of other cars in puddles can disorient the self-driving car. Their team is working on a model to determine when the self-driving car is seeing a reflection of a car vs a real car.

Think of a potential response and predictor, and about whether this is a regression or classification problem.

01:00

Concept Question 2

  • Here is a function f.
f <- function(x, y) {
  y*(x + 3) 
}

What will the following line of code return?

f(3,5)