I have data on income and want to calculate percentiles using bootstrapping as well as population weights. What I did so far (and what worked):
collapse (p10) p10 = income ///
(p90) p90 = income ///
(p95) p95 = income ///
(p99) p99 = income ///
[iweight = wg], by(year)
How can I add bootstrapping to this code?
Thanks!
There is a community-contributed command
qrprocessthat can do fast multiple quantile regression with weights and bootstrapping: