I am trying to perform a Monte-Carlo simulation using R. Currently I am getting stuck simulating the data. In a usual regression setting I would draw a random sample of the independent data and then compute the value of my dependent variable given a set of coefficients, set by me, and an error term. Consider for example: $$ y_{i}=x_i'\beta+\epsilon_i $$ In the case of OLS the coefficient is known since I would have set it in the above equation. However, I want to compare my estimate of $\beta$ for a whole range of quantiles for example $\tau = \{0.05, 0.25, 0.5, 0.75, 0.95\}$.
So my question is, how do I simulate my data and then get my true slope parameter for all $\tau$?