# 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 50% commission on every question your affiliated users ask or answer.

- unanswered
- 96 views
- Pro Bono

### Related Questions

- Find the null space of the matrix $\begin{pmatrix} 1 & 2 & -1 \\ 3 & -3 & 1 \end{pmatrix}$
- Advice for proving existence claims
- Linear Algebra - matrices and vectors
- Closest Points on Two Lines: How to use algebra on equations to isolate unknowns?
- Relating dot product divided with square of the vector while changing basis of vector
- [Linear Algebra] Spectrum
- Linear Algebra: Quadratic Forms and Matrix Norms
- Consider the vector v = (3, 4, 5)^T, calculate the orthogonal projection

This question should be offered a bounty.