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
- 248 views
- Pro Bono
Related Questions
- Relating dot product divided with square of the vector while changing basis of vector
- Get area of rotated polygon knowing all coordinates and angle.
- Linear Algebra - matrices and vectors
- Show that $tr(\sqrt{\sqrt A B \sqrt A})\leq 1$ , where both $A$ and $B$ are positive semidefinite with $tr(A)=tr(B)=1.$
- Find the general solution of the system of ODE $X'=\begin{bmatrix} 1 & 3 \\ -3 & 1 \end{bmatrix} X$
- [ eigenvalues and eigenvectors] Prove that (v1, v2, v3) is a basis of R^3
- Calculate the inverse of a triangular matrix
- Let $\mathbb{C} ^{2} $ a complex vector space over $\mathbb{C} $ . Find a complex subspace unidimensional $M$ $\subset \mathbb{C} ^{2} $ such that $\mathbb{C} ^{2} \cap M =\left \{ 0 \right \} $
This question should be offered a bounty.