Quartile: Difference between revisions
Line 93: | Line 93: | ||
\end{cases} </math> |
\end{cases} </math> |
||
|} |
|} |
||
First Quartlie can be calculated by the follwing formula if (n+1)/4 the value |
First Quartlie can be calculated by the follwing formula if (n+1)/4 the value is not an integer. Let us consider the case that we might have 12 observations i.e n=12 then Q1=(12+1)/4 the value i.e Q1=3.25th value. To find the 3.25 the value we can use the formula |
||
Q1= 3rd value + 0.25 [4th value - 3rd value] |
Q1= 3rd value + 0.25 [4th value - 3rd value] |
||
same procedure can be adopted for any fractional value of Q1 and Q3. |
same procedure can be adopted for any fractional value of Q1 and Q3. |
Revision as of 03:36, 9 November 2010
In descriptive statistics, a quartile is one of four equal groups, representing a fourth of the distributed sampled population. It is a type of quantile.
In epidemiology, the four ranges defined by the three values discussed here.
Definitions
- first quartile (designated Q1) = lower quartile = cuts off lowest 25% of data = 25th percentile
- second quartile (designated Q2) = median = cuts data set in half = 50th percentile
- third quartile (designated Q3) = upper quartile = cuts off highest 25% of data, or lowest 75% = 75th percentile
The difference between the upper and lower quartiles is called the interquartile range.
Computing methods
This article or section appears to contradict itself.(March 2010) |
There is no universal agreement on choosing the quartile values.[1]
The formula for locating the position of the observation at a given percentile, y, with n data points sorted in ascending order is:[2]
- Case 1: If L is a whole number, then the value will be found halfway between positions L and L+1.
- Case 2: If L is a decimal, round to the nearest whole number. (for example, L = 1.2 becomes 1).
Example
Method 1
- Use the median to divide the ordered data set into two halves. Do not include the median into the halves.
- The lower quartile value is the median of the lower half of the data. The upper quartile value is the median of the upper half of the data.
This rule is employed by the TI-83 calculator boxplot and 1-Var Stats functions.
Method 2
- Use the median to divide the ordered data set into two halves. Include the median into both halves.
- The lower quartile value is the median of the lower half of the data. The upper quartile value is the median of the upper half of the data.
Example 1
Data Set: 6, 47, 49, 15, 42, 41, 7, 39, 43, 40, 36
Ordered Data Set: 6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49
Method 1 | Method 2 |
---|---|
Example 2
Ordered Data Set: 7, 15, 36, 39, 40, 41
Method 1 | Method 2 |
---|---|
Example 3
Ordered Data Set: 1, 2, 3, 4
Method 1 | Method 2 |
---|---|
First Quartlie can be calculated by the follwing formula if (n+1)/4 the value is not an integer. Let us consider the case that we might have 12 observations i.e n=12 then Q1=(12+1)/4 the value i.e Q1=3.25th value. To find the 3.25 the value we can use the formula Q1= 3rd value + 0.25 [4th value - 3rd value] same procedure can be adopted for any fractional value of Q1 and Q3.
See also
References
- ^ Hyndman, Rob J; Fan, Yanan (1996). "Sample quantiles in statistical packages". American Statistician. 50 (4): 361–365. doi:10.2307/2684934.
{{cite journal}}
: Unknown parameter|month=
ignored (help) - ^ McNamara, Timothy J. (2007). Key concepts in mathematics: strengthening standards practice in grades 6–12 (2nd ed.). Corwin Press. ISBN 9781412938426.
External links
- Quartile - from MathWorld Includes references and compares various methods to compute quartiles
- Quartiles - From MathForum.org
- Quartiles - An example how to calculate it