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)?
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
- 490 views
- Pro Bono
Related Questions
- Consider the function, prove that it's bilinear, symmetric, and positive definite
- two short Linear Algebra questions
- Find eigenvalues and eigenvectors of the matrix $\begin{pmatrix} 1 & 6 & 0 \\ 0 & 2 & 1 \\ 0 & 1 & 2 \end{pmatrix} $
- Linear Transformation Problems
- Find the general solution of the system of ODE $X'=\begin{bmatrix} 1 & 3 \\ -3 & 1 \end{bmatrix} X$
- Numerical Linear Algebra Question
- Prove that $V={(𝑥_1,𝑥_2,⋯,𝑥_n) \in ℝ^n ∣ 𝑥_1+𝑥_2+...+𝑥_{𝑛−1}−2𝑥_𝑛=0}\}$ is a subspace of $\R^n$.
- [Linear Algebra] Proof check. Nilpotent$\Rightarrow Spec\Rightarrow$ Characteristic Polynomial $\Rightarrow$ Nilpotent
This question should be offered a bounty.