Code:
reg price  treatment i.state i.year income rural [fw=round(weight)] , cluster(state)
Hi

I ran the above regression but now I wish to look at the impact on the 90th percentile of the dependent variable instead of the mean.
Is the code below fine? Also how do I cluster the standard errors at the state level in the following quantile regression.

Code:
qreg price  treatment i.state i.year income rural [fw=round(weight)] , quantile(0.9)