In Lecture 2, we found that h* error: = Mean (y1, 2, ..., Yn) is the constant prediction that minimizes mean squared n 1 Rsq (h) (Yi - h)² n i=1 To arrive at this result, we used calculus: we took the derivative of Rsq (h) with respect to h, set it equal to 0, and solved for the resulting value of h, which we called h*. 3 In this problem, we will minimize Rsq (h) in a way that doesn't use calculus. The general idea is this: if f(x) = (x−c)²+k, then we know that f is a quadratic function that opens upwards with a vertex at (c, k), meaning that x = c minimizes f. As we saw in class (see Lecture 2, slide 16), Rsq (h) is a quadratic function of h! Throughout this problem, let y1, 2, ..., yn be an arbitrary dataset, and let ÿ = ½-½ Σ²²±₁ y; be the mean of the y's. 1 n i=1 a) What is the value of 21 (yi - ÿ)? Justify your answer.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter7: Analytic Trigonometry
Section7.6: The Inverse Trigonometric Functions
Problem 93E
icon
Related questions
Question
In Lecture 2, we found that h*
error:
=
Mean (y1, 2, ..., Yn) is the constant prediction that minimizes mean squared
n
1
Rsq (h)
(Yi - h)²
n
i=1
To arrive at this result, we used calculus: we took the derivative of Rsq (h) with respect to h, set it equal to
0, and solved for the resulting value of h, which we called h*.
3
In this problem, we will minimize Rsq (h) in a way that doesn't use calculus. The general idea is this: if
f(x) = (x−c)²+k, then we know that f is a quadratic function that opens upwards with a vertex at (c, k),
meaning that x = c minimizes f. As we saw in class (see Lecture 2, slide 16), Rsq (h) is a quadratic function
of h!
Throughout this problem, let y1, 2, ..., yn be an arbitrary dataset, and let ÿ = ½-½ Σ²²±₁ y; be the mean of the
y's.
1
n
i=1
a)
What is the value of 21 (yi - ÿ)? Justify your answer.
Transcribed Image Text:In Lecture 2, we found that h* error: = Mean (y1, 2, ..., Yn) is the constant prediction that minimizes mean squared n 1 Rsq (h) (Yi - h)² n i=1 To arrive at this result, we used calculus: we took the derivative of Rsq (h) with respect to h, set it equal to 0, and solved for the resulting value of h, which we called h*. 3 In this problem, we will minimize Rsq (h) in a way that doesn't use calculus. The general idea is this: if f(x) = (x−c)²+k, then we know that f is a quadratic function that opens upwards with a vertex at (c, k), meaning that x = c minimizes f. As we saw in class (see Lecture 2, slide 16), Rsq (h) is a quadratic function of h! Throughout this problem, let y1, 2, ..., yn be an arbitrary dataset, and let ÿ = ½-½ Σ²²±₁ y; be the mean of the y's. 1 n i=1 a) What is the value of 21 (yi - ÿ)? Justify your answer.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax