Solving 2a $\sum (2x_i)^2 + 2b \sum x_i - 2 \sum x_i y_i$ for a and b

  • Thread starter Thread starter ISU20CpreE
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving the equation 2a Σ(2x_i)^2 + 2b Σx_i - 2 Σx_i y_i for the variables a and b. The derived formulas are a = (nΣx_i y_i - Σx_i Σy_i) / (nΣ(x_i)^2 - (Σx_i)^2) and b = (1/n)(Σy_i - aΣx_i). Participants emphasize that a and b are not included in the summations, making the algebraic manipulation straightforward. However, there is confusion regarding the presence of 'n' in the formula for a, suggesting a potential error in the provided answer.

PREREQUISITES
  • Understanding of summation notation and its properties
  • Familiarity with basic algebraic manipulation
  • Knowledge of statistical concepts such as means and variances
  • Experience with linear regression equations
NEXT STEPS
  • Review linear regression and the least squares method
  • Study the derivation of regression coefficients a and b
  • Explore the implications of summation notation in statistical formulas
  • Practice solving similar algebraic equations involving summations
USEFUL FOR

Students in statistics, data analysts, and anyone involved in solving linear regression problems will benefit from this discussion.

ISU20CpreE
Messages
67
Reaction score
0
[tex]2a \sum (2x_i)^2 + 2b \sum x_i - 2 \sum x_i y_i[/tex] I need to set it equal to zero and solve for a.

[tex]2a \sum x_i + 2nb - 2\sum y_i[/tex]

and solve for b.

I need a hint so i can start doing it, it confuses me all those adding symbols.

The Answer the book came up with is:

[tex]a= \frac{(n\sum x_i y_i - \sum x_i \sum y_i)} {(n \sum (x_i)^2 - (\sum x_i)^2}[/tex]

[tex]b= \frac{1 / n} (\sum y_i - a \sum x_i)[/tex]
 
Last edited:
Physics news on Phys.org
First of all, these look like simple algebraic manipulations. a and b are not inside any of the summations, so solving for them is straightforward. The solution for b looks fine (simple re-ordering of the equation), but the answer for a looks wrong. like, where did the n come from? Could that be the answer to a different question or something?

Do the 2nd one first to see how easy it is. Then re-check the first problem statement and answer to be sure you have them synchronized.
 
berkeman said:
First of all, these look like simple algebraic manipulations. a and b are not inside any of the summations, so solving for them is straightforward. The solution for b looks fine (simple re-ordering of the equation), but the answer for a looks wrong. like, where did the n come from? Could that be the answer to a different question or something?

Do the 2nd one first to see how easy it is. Then re-check the first problem statement and answer to be sure you have them synchronized.


Thank you for your help!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
0
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
1
Views
3K
Replies
2
Views
2K