We perform an experiment and obtain N data points (X1,Y10), (x2,y20), (XN, YNO). Here the subscript "o" on the Y values shows it is an experimental point. Now we're going to try to approximate those points with the line yir-mxi+c. We want to find the values of m and b that minimize the total error of the Sum of the Squares (SS). Doing the necessary substitutions and algebra we find that we can express the Sum of the Squares algebraically as SS=[yio²-2c[yio -2m[xiyio +2mc{xi+Nc²+m²[x² Explain and justify (NOT do mathematically) how can we now find the slope m in terms of xi and yio only?
We perform an experiment and obtain N data points (X1,Y10), (x2,y20), (XN, YNO). Here the subscript "o" on the Y values shows it is an experimental point. Now we're going to try to approximate those points with the line yir-mxi+c. We want to find the values of m and b that minimize the total error of the Sum of the Squares (SS). Doing the necessary substitutions and algebra we find that we can express the Sum of the Squares algebraically as SS=[yio²-2c[yio -2m[xiyio +2mc{xi+Nc²+m²[x² Explain and justify (NOT do mathematically) how can we now find the slope m in terms of xi and yio only?
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Please help me with 1(a) and (b)
Expert Solution
Step 1
Solution:
From the given information, total error sum of squares is
Step by step
Solved in 3 steps with 2 images
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman