Hi, I am having some confusion in calculating interquartile range for a list containing 2 and 3 values.
1,2 - Range is 2-1=1. But what is Q1 and Q2? Median will be 1.5, Q1 will be (1+1.5)/2 and Q2 will be (1.5+2)/2. So interquartile range will be 0.5
Similarly, 1,2,3- Median is 2, Range is 3-1=2, Q1 is (1+2)/2 and Q3 is (2+3)/2 so inter-quartile range is 1.
Is this correct?
