Suppose you have n data points (x 1 , y 1 ) (x 2 , y 2

Question:

Suppose you have n data points (x1, y1) (x2, y2), . . , (xn, yn) and you wish to fit a line through the origin (y = ax) to these data using the method of least squares. Derive Equation A.1-6 (Appendix A.1) for the slope of the line by writing the expression for the vertical distance di from the ith data point (xi, yi) to the line, then writing the expression for Φ =Σd2i, and finding by differentiation the value of a that minimizes this function.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Elementary Principles of Chemical Processes

ISBN: 978-0471720638

3rd Edition

Authors: Richard M. Felder, Ronald W. Rousseau

Question Posted: