# How o calculate weights in a linear equation?

The idea is to calculate output (y) using a linear combination of the 4 variables (x1, x2, x3, x4):

y = (a1 * x1 ) + (a2 * x2 ) + (a3 * x3 ) + (a4 * x4 )

My question is how to calculate those weights (a1, a2, a3, a4)?

Join Matchmaticians Affiliate Marketing
Program to earn up to a 50% commission on every question that your affiliated users ask or answer.

- unanswered
- 127 views
- Pro Bono

### Related Questions

- Singular Value Decomposition Example
- Linear Algebra Exam
- Find the values of a, for which the system is consistent. Give a geometric interpretation of the solution(s).
- Diagonalization of linear transformations
- Find $a,b,c$ so that $\begin{bmatrix} 0 & 1& 0 \\ 0 & 0 & 1\\ a & b & c \end{bmatrix} $ has the characteristic polynomial $-\lambda^3+4\lambda^2+5\lambda+6=0$
- Find the values of x
- Help with linear algebra HW. Please show work!
- General solutions of the system $X'=\begin{pmatrix} a & b \\ c & d \end{pmatrix} $

This question should be offered a bounty.