I understand that quantile regression estimates the conditional quantile of some measured variable (call the variable $y$), but can you use quantile regression to estimate an unconditional quantile of a distribution? For example, if I had 100 data points
$$y_1,...,y_{100}\sim N(\mu, \sigma^2)$$
then I could use some method to try to estimate the true quantile of the distribution, i.e., $q = \mu + z_\alpha\sigma$. But if I don't have any covariate information, can I still use quantile regression to estimate some quantile of interest from my data $y$?
quantilefunction has nine methods of performing the calculation. This can be changed using thetypeargument. – Dave Aug 10 '23 at 19:48m2 <- rq(x~1, c(0.5)) summary(m2, se = "boot", bs = "xy")
– Peter Flom Aug 11 '23 at 11:47