Question: Suppose you have n data points (x 1 ; y 1 ), (x 2 ; y2 ), . . . , (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.28 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution We have n data points x1y1x2y2xnyn and we want to fit a line through ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!