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.


Equation A.1-6

a = Sy - Exy; Σ (The intercept equals 0.0.) Sxx

a = Sy - Exy; (The intercept equals 0.0.) Sxx

Step by Step Solution

3.39 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The equation has the form Y a bX where Y is ... 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!