How o calculate weights in a linear equation?
Context: I have historical data of 4 variable and I want to create an output using these variables. I don't have historical data of the "output".
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
- 257 views
- Pro Bono
Related Questions
- Get area of rotated polygon knowing all coordinates and angle.
- [Rotations in R^3 ] Consider R∶ R^3 → R^3 the linear transformation that rotates π/3 around the z-axis
- Linear Algebra Question
- Frontal solver by Bruce Irons? Am I using the right Algorithm here?
- Conjugate / Transpose - Matrix
- Find $x$ so that $\begin{pmatrix} 1 & 0 & c \\ 0 & a & -b \\ -\frac{1}{a} & x & x^2 \end{pmatrix}$ is invertible
- Space of all matrices with given column space
- Step by step method to solve the following problem: find coordinates of B.
This question should be offered a bounty.