Let's say that we have the following array:
[3.0, 4.0, 4.0, 4.0, 7.0, 10.0, 11.0, 12.0, 14.0, 16.0, 17.0, 18.0]
The inter-quartile range would be as follows:
- 25%: 4.0
- 50%: 10.5
- 75%: 15
If one then were to try to count the elements in each quartile, would this typically include the inter-quartile cutoffs or exclude the inter-quartile cutoffs?
e.g. for this example, would the counts typically be listed as option A (inclusive) or option B (exclusive):
Option A (inclusive):
- 0-25%: 4
- 25-50%: 2
- 50-75%: 3
- 75-100%: 3
Option B (exclusive):
- 0-25%: 1
- 25-50%: 5
- 50-75%: 3
- 75-100%: 3
Credit to user @user3386109