Hello Everyone,
In panel data (repeated observations for different individuals over time) fixed effects regressions are used, where the fixed effects are defined based on time and individual. An alternative way of achieving the same, is to demean all variables by individual and time and use simple OLS regression.
My question is the following: I am trying to run a quantile regression with fixed effects. I have tried the xtqreg procedure, but unsuccessfully (for reasons I won't get into here).
My question is: is it wrong to demean variables first based on individual, and then run a quantile regression on demeaned variables?
Thank you all very much in advance!
In panel data (repeated observations for different individuals over time) fixed effects regressions are used, where the fixed effects are defined based on time and individual. An alternative way of achieving the same, is to demean all variables by individual and time and use simple OLS regression.
My question is the following: I am trying to run a quantile regression with fixed effects. I have tried the xtqreg procedure, but unsuccessfully (for reasons I won't get into here).
My question is: is it wrong to demean variables first based on individual, and then run a quantile regression on demeaned variables?
Thank you all very much in advance!
Comment