Mathematics/Statistics/Data Characteristics: Difference between revisions
Brodriguez (talk | contribs) m (More formatting) |
Brodriguez (talk | contribs) (Add quantile section) |
||
Line 68: | Line 68: | ||
Q3 - [7, 8] | Q3 - [7, 8] | ||
Q4 - [10, 11] | Q4 - [10, 11] | ||
== Quantiles == | |||
Similarly to quartiles, a quantile splits up data into even sections.<br> | |||
The difference is that a quartile is a specific type of quantile, that always divides into fourths.<br> | |||
A quantile can be split into any number of sections. | |||
{{ Note | Sometimes, rather than splitting data i nto evenly spaced sections, they are used to divide a [[Statistics - Distributions|distribution]] into equal sized groups, where each group contains an equivalent fraction of data. }} | |||
Revision as of 05:34, 13 May 2020
The following details some basic characteristics of data in statistics. See also Core Measurements.
Note that all of the following assume an ordered set of items.
Min
The Min is the lowest single unique value.
For example, given a set of [1, 1, 2, 2, 3, 3, 4, 4, 5, 5], 1 is the min.
Max
The Max is the highest single unique value.
For example, given a set of [1, 1, 2, 2, 3, 3, 4, 4, 5, 5], 5 is the max.
Percentile
A Percentile is the value that marks 25%, 50% or 75% in your data.
In other words, find the median of your data. This marks the 50th percentile.
This splits your data into two halves. At which point you find the median for each half, giving you the 25th and 75th percentile.
For example, given a set of [1, 2, 3, 4, 5, 6], we have the following percentiles: 25th - 2 50th - 3.5 75th - 5
Quantiles
A Quartile is a segment of the data when split up into four chunks. Note that the set must be ordered for this.
There are four distinct quartiles with unique names:
Quartile 1 (Q1) - The lowest 25% of numbers in the set.
Quartile 2 (Q2) - The second lowest 25% of numbers in the set.
Quartile 3 (Q3) - The second highest 25% of numbers in the set.
Quartile 4 (Q4) - The highest 25% of numbers in the set.
In other words, sort your data and divide it into quarters. Each quarter is a quartile, with Q1 being the lowest values and Q4 being the highest.
For example, given a set of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], we have the following quartiles: Q1 - [1, 2, 3] Q2 - [4, 5, 6] Q3 - [7, 8, 9] Q4 - [10, 11, 12]
While the above example splits neatly, not all sets will perfectly divide into fourths.
In these cases, a more scientific approach is to find the percentiles, and then use these as the boundaries for the quartiles.
In instances where an odd number of values are being split (so the percentile could arguably be in either quartile), one of two methods are common:
- Include the percentile value in both quartiles.
- Exclude the percentile value from both quartiles.
For example, consider this:
Given a set of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], we have the following percentiles: 25th - 3 50th - 6 75th - 9 If including, we first split into [1, 2, 3, 4, 5, 6] and [6, 7, 8, 9, 10, 11]. Then we split again to get our quartiles. Q1 - [1, 2, 3] Q2 - [4, 5, 6] Q3 - [6, 7, 8] Q4 - [9, 10, 11] If excluding, we first split into [1, 2, 3, 4, 5] and [7, 8, 9, 10, 11]. Then we split again to get our quartiles: Q1 - [1, 2] Q2 - [4, 5] Q3 - [7, 8] Q4 - [10, 11]
Quantiles
Similarly to quartiles, a quantile splits up data into even sections.
The difference is that a quartile is a specific type of quantile, that always divides into fourths.
A quantile can be split into any number of sections.
Outliers
An outlier is an item that does not fit in with the rest. It's usually extremely low or extremely high, compared to the other values in the set.
For example, given a set of [1, 2, 3, 4, 50], 50 is an outlier, as it's much higher than the rest of the values.