Is there any closed formula for quantile regression with only one predictor?
Motivation
I need to implement in SQL median regression with one predictor. It is quite easy to implement OLS with one predictor, because there is simple formulat for coefficients, but I have no idea how whether there is a formula for quantile regression.