Quantile Regression

From the output, we can see the estimated regression equation:

Unlike a simple linear regression line, notice that this fitted line doesn’t represent the “line of best fit” for the data. Instead, it goes through the estimated 90th percentile at each level of the predictor variable. Hopefully now you've learnt how to fit quantile regression models in Python!