I'm learning specifically about different forms of simple linear regression including ordinary least squares, median absolute deviation, and Theil-Sen. I have no background whatsoever in linear algebra or even calculus. So I have a super hard time understanding even the notation or symbols of linear algebra.
I've learned that the ordinary least squares estimate for simple linear regression (meaning one independent and one dependent variable) have these simple equations for the slope and intercept (both evaluate to the same).
$$ \begin{aligned} a = r * \frac{sy}{sx} \end{aligned} $$
$$ \begin{aligned} a = \frac{\sum{(x_i - \bar{x})(y_i-\bar{y})}}{\sum{(x_i-\bar{x}})^2} \end{aligned} $$
In the first equation, a
is the slope and r
is the correlation and sy
and sx
are the standard deviation of y
and x
, respectively.
After calculating the slope, I can find the intercept i
with this equation:
$$
\begin{aligned}
i = \bar{y} - r* \frac{sy}{sx} * \bar{x}
\end{aligned}
$$
My question is: Is there a nice closed form equation for the slope and intercept for Theil-Sen or median absolute deviation estimators? Is it the case there there just happens to be no closed form equation or that, in the case of Theil-Sen, there would never be a closed form equation because the estimator is non-parametric?