How to calculate quant

* $$\{x_i \}_{i=1}^{4n}$$ * median: $$\frac{1}{2} (x_{2n} + x_{2n+1})$$ * Q1: $$\frac{1}{2} (x_{n} + x_{n+1})$$ * Q3: $$\frac{1}{2} (x_{3n} + x_{3n+1})$$ * $$\{x_i \}_{i=1}^{4n+1}$$ * median: $$x_{2n+1}$$ * Q1:$$\frac{1}{2} (x_{n} + x_{n+1})$$ * Q3: $$\frac{1}{2} (x_{3n} + x_{3n+1})$$ * $$\{x_i \}_{i=1}^{4n+2}$$ text book * median: median: $$\frac{1}{2} (x_{2n+1} + x_{2n+2})$$ * Q1: $$x_{n+1}$$ * Q3: $$x_{3n+2}$$ * $$\{x_i \}_{i=1}^{4n+3}$$ * median: median: $$x_{2n+2}$$ * Q1: $$x_{n+1}$$ * Q3: $$x_{3n+2}$$