Question: Suppose you have n data points (x 1 , y 1 ) (x 2 , y 2 ), . . , (x n , y
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.
Step by Step Solution
3.41 Rating (173 Votes )
There are 3 Steps involved in it
v ax 4a Ed v... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
13-E-C-E-C-P (43).pdf
180 KBs PDF File
13-E-C-E-C-P (43).docx
120 KBs Word File
