Let (x₁, y₁), ..., (Xn, Yn), n ≥ 2, be points on the R² plane (each xį, Yi € R). We wish to find the straight line of "best fit" through these points ("best" in the sense that the average squared error is minimized); that is, we wish to find a, b € R to minimize 1. Let f(a, b) n X Y X² Y2 XY n i=1 (axį+b-yi) ². || || || 1-2 1-2 n WIWI WIWIWI i=1 Xi Xiyi. - Show that f(a, b) can be written in the form z¹Qz — 2c¹z+d, where z = [a, b]T, Q = Q¹ € R²×², cɛ R² and dɛ R, and find expressions for Q, c, and d in terms of X, Y, X², Y², XY. 2. Assume that the xi, i = 1,..., n, are not all equal. Find the parameters a* and b* for the line of best fit in terms of X, Y, X², Y², XY. Show that the point (a*,b*)¹ is the only local minimizer of f. (Hint: X² – (X)² = ½ Σï1 (xi − x)².) 3. Show that if a* and b* are the parameters of the line of best fit, then Y = a*X + b* (and hence once we have computed a*, we can compute b* using the formula b* = Y − a* X).
Let (x₁, y₁), ..., (Xn, Yn), n ≥ 2, be points on the R² plane (each xį, Yi € R). We wish to find the straight line of "best fit" through these points ("best" in the sense that the average squared error is minimized); that is, we wish to find a, b € R to minimize 1. Let f(a, b) n X Y X² Y2 XY n i=1 (axį+b-yi) ². || || || 1-2 1-2 n WIWI WIWIWI i=1 Xi Xiyi. - Show that f(a, b) can be written in the form z¹Qz — 2c¹z+d, where z = [a, b]T, Q = Q¹ € R²×², cɛ R² and dɛ R, and find expressions for Q, c, and d in terms of X, Y, X², Y², XY. 2. Assume that the xi, i = 1,..., n, are not all equal. Find the parameters a* and b* for the line of best fit in terms of X, Y, X², Y², XY. Show that the point (a*,b*)¹ is the only local minimizer of f. (Hint: X² – (X)² = ½ Σï1 (xi − x)².) 3. Show that if a* and b* are the parameters of the line of best fit, then Y = a*X + b* (and hence once we have computed a*, we can compute b* using the formula b* = Y − a* X).
Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
Related questions
Question
Answer all parts with work please
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,