Here is a thread that is inspiring this question. I don't agree with Ben's answer for the reason wcochran stated.
I am trying to find the equation for a plane specifically using least squares. So say we have an equation for a plane, $x+y+z=0$ (no intercept! this will later be problematic). Now using this equation, we generate 4 data points, say, $$ (0,0,0) \\ (1,0,-1) \\ (0,1,-1) \\ (1,1,-2) $$
Now say that I want to take these points and fit least squares to get the original equation of a plane. So to do this, I assume the equation of the plane is of some generic form: $$ 0 = \beta_1x + \beta_2y + \beta_3z + \beta_0 $$ We can formulate a system of linear equations using the above data points $$ \begin{bmatrix} 0 & 0 & 0 & 1\\ 1 & 0 & -1 & 1\\ 0 & 1 & -1 & 1 \\ 1 & 1 & -2 & 1 \end{bmatrix} \begin{bmatrix} \beta_1 \\ \beta_2 \\ \beta_3 \\ \beta_0 \end{bmatrix} = 0 $$
But the issue is this matrix isn't full rank, so we can't use least squares (or I guess in this case, since the matrix is square, you could have simply inverted it if it wasn't singular)... precisely because the points were generated from $x+y+z = 0$, where each variable is a linear combination of the other variables. The issue is also because there is no intercept term in the plane meaning the equation passes through the origin, hence allowing each variable to be a linear combination of the others.
Am I missing something fundamental with my thought process or is it impossible to reconstruct the plane $x + y + z = 0$ using the 4 given data points above? I believe we should be able to since 3 non-collinear points are all that is needed to construct a plane, but from what I can see, my process doesn't work here.