In a univariate regression, $Y=a+bX+e$, the solution for slope b is given by $COV(X,Y)/VAR(X)$.
Is there a similar expression for a bivariate regression $Y=a+bX+cZ+e$. What is the closed form solution for b and c in this case?
In a univariate regression, $Y=a+bX+e$, the solution for slope b is given by $COV(X,Y)/VAR(X)$.
Is there a similar expression for a bivariate regression $Y=a+bX+cZ+e$. What is the closed form solution for b and c in this case?
Yes, it is called ordinary least squares (OLS) and it is covered in most handbooks:
$$ \hat{\boldsymbol\beta} = (\mathbf{X}^{\rm T}\mathbf{X})^{-1} \mathbf{X}^{\rm T}\mathbf{y} $$
where $\hat{\boldsymbol\beta}$ and $\mathbf{X}$ are matrices and $\mathbf{y}$ is a vector. See also this thread.
Given $$y=\beta_1+\beta_2 x_2 + \beta_3 x_3 +\varepsilon $$ with the usual assumptions, OLS would correspond to solving these normal equations
$$ n \cdot b_1 + b_2 \sum x_2 + b_3 \sum x_3 = \sum y \\ b_1 \sum x_2 + b_2 \sum x_2^2 + b_3 \sum x_2 \cdot x_3= \sum x_2 \cdot y \\ b_1 \sum x_3 + b_2 \sum x_2 \cdot x_3 + b_3 \sum x_3^2= \sum x_3 \cdot y, $$
where $n$ is the sample size. I don't think there's a neat interpretation like there is with the 2D case.