Interquartile Range Calculator
Interquartile Range Calculator (IQR) computes the interquartile range of a dataset, measuring the spread of the middle 50% of the data. The IQR is useful for assessing variability and detecting outliers.
Enter comma-separated values (e.g., 1,2,3,4):
Methodology Used in IQR Calculator
The calculator computes the interquartile range using:
1. Interquartile Range: \\( \text{IQR} = Q3 – Q1 \\)
Where:
- \\( Q1 \\): First quartile (25th percentile)
- \\( Q3 \\): Third quartile (75th percentile)
Sorts data, finds Q1 and Q3 via linear interpolation, then subtracts.
Example Calculation
Sample Input
Dataset = 1, 2, 3, 4, 5
Step 1: Sort data: \\( 1, 2, 3, 4, 5 \\)
Step 2: Find Q1 (25th percentile, position 1.5): \\( Q1 = 1 + 0.5 \cdot (2 – 1) = 1.5 \\)
Step 3: Find Q3 (75th percentile, position 4.5): \\( Q3 = 4 + 0.5 \cdot (5 – 4) = 4.5 \\)
Step 4: IQR: \\( \text{IQR} = 4.5 – 1.5 = 3 \\)
Result: IQR = 3.