104k views
5 votes
Find the equation of the least squares regression line. Show all calculations, and be sure to define any variables used.

User BenNov
by
8.3k points

1 Answer

1 vote
Steps
Step 1: For each (x,y) point calculate x2 and xy.
Step 2: Sum all x, y, x2 and xy, which gives us Σx, Σy, Σx2 and Σxy (Σ means "sum up")
Step 3: Calculate Slope m:
m = N Σ(xy) − Σx Σy N Σ(x2) − (Σx)2
Step 4: Calculate Intercept b:
b = Σy − m Σx N.
Step 5: Assemble the equation of a line.
User Juan Carlos Ibarra
by
7.7k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories