I'm examining whether the rates of increase in income within a certain profession are significantly different in different parts of the income distribution, to see if the income gap is significantly stretching or closing.
THE QUANTREG MODEL
I have performed a quantile regression in SPSS (I'm new to coding, only have vey basic knowledge of Python so I need your help). The dependent variable is indexed income, the independent variables are time (quarter in this dataset), demographic groups, segments of the profession. I have also added the interaction terms of each dummy with the time variable.
So (at least the way I see it), this model allows comparison of changes in income on three levels:
QUESTION
So I've got my output of this quantile regression on SPSS, a huge table with all the coefficients and their significance and confidence intervals.
Now I want to find out whether the differences between the 90%Q and the 10%Q are statistically significant, in order to make statements about whether the income gap in this profession has significantly increased or decreased. I thought to do this on Python instead of SPSS, I've searched how to cut the data into quantiles, and how to perform a quantile regression. But how should one get on with testing the significance of difference between 90%Q and 10%Q?
I found a method to test whether the regression coefficients are significantly different, the 50%-rule using the standardised beta weights and their 95% confidence intervals (which can be estimated via bias corrected bootstrap; for quantile regressions, they are usually already provided in the output). The rule basically states that if the 95% confidence intervals of two sample means have less than 50% overlap, then there is a significant difference (p=0.05). In case of less than 14% overlap, significance level is at p=0.01.
This is the Youtube video in which I found this method:
https://www.youtube.com/watch?v=qKnpiGwNDMk
And the paper that the Youtube video referred to:
Cumming, G. (2009). Inference by eye: reading the overlap of confidence intervals. Statistics in Medicine, 28(2), 205-220.