Quartiles Question: Are the Q1/Q2/Q3/Q4 values included in quartiles?

image

In 05:34 of the Prepswift video on quartiles, we find that 6 is the Q1 value. However, is 6 also in the first quartile? (i.e. is the first quartile [3, 5, 5] or [3, 5, 5, 6]?)

Additionally, given a list (1,1,1,1,2,3,3,3,3) we can find that the median is 2. Hence, Q2 = 2. However, is 2 in any quartile? If 2 is in a quartile, is 2 in the second or third quartile?

I don’t think so. You say it’s the “Q1 value” or “AT the first quartile”, but IN the first quartile itself, there’s only 3, 5 and 5.

Again, I don’t think so. Maybe @Leaderboard can confirm?

1 Like

Quartiles are numbers, not lists.

2 is Q_2.

1 Like