Math na Geometry
Kalaụketi maka Quartile, Median na Percentile (IQR, Outliers)
Chọta median, quartiles na percentile ọ bụla nke ọdịdị nọ n'ime usoro ọdịdị (set of numbers). Quartiles e-mewe data ndị eji usoro nọgide (ordered data) ụzọ anọ dị mma: quartile nke mbụ (Q1) nwere akụkọ nke anọ dị n'okpuru ya, median (Q2) nwere mbụ nke mbili, na quartile nke atọ (Q3) nwere akụkọ nke atọ. Ọdịdị Q3 − Q1, nke a na-akpọ interquartile range (IQR), na-egosi otú data ndị nọ n'etiti nọ n'ụzọ, ma n'ụzọ dị iche na range, ọ naghị etu ihe ndị dị n'ọkwa n'ụzọ (extreme values). Iwu John Tukey na-egosi ihe ndị dị n'okpuru Q1 ma ọ bụ n'elu Q3 nke karịrị 1.5 oge IQR dị ka outliers dị mma, ma nke kacha ala, Q1, median, Q3 na nke kacha elu na-eme ihe ise nchịkọta (five-number summary) a na-egosi n'igwe box plot. Enwere ụzọ dị iche iche a na-agụ quartiles site n'ụgwọ (sample), nke mere ka kọmputa ndị dị iche na akwụkwọ ihe omume na-enwe obi ike dị iche. Kọmputa a na-enye ụzọ abụọ a na-eji nke kacha pụta ìhè: usoro inclusive nke Excel PERCENTILE.INC na QUARTILE.INC na R (Hyndman and Fan type 7) na-eji, na usoro exclusive nke Excel PERCENTILE.EXC (type 6) na-eji. Dozie data gị nke eji mspace, commas ma ọ bụ lines ọhụrụ eke, họọ usoro na percentile.
Olee otu e si eji calculator a
- Tinye ma ọ bụ dozie nọmba gị, nke eji mspace, commas ma ọ bụ lines ọhụrụ eke.
- Họọ usoro inclusive ma ọ bụ exclusive.
- Tinye percentile ị chọrọ ịmụta, dị ka 90.
- Ọgụde median, quartiles, IQR na percentile.
- Lelee outliers na ihe ise nchịkọta (five-number summary).
Ime ihe n'ihi why use quartiles
Median na IQR na-akọwa otú ihe ndị nọ n'etiti na otú ihe ndị nọ n'ụzọ dị, n'enweghị ka ihe ndị dị n'ọkwa n'ụzọ (extreme values) mee ka ha ghara ịdị mma, nke na-eme ka ha dị mma maka data ndị na-agba n'ụzọ dị iche (skewed data) dịka ụọgwụ, ọnụ ahịa ụlọ ma ọ bụ oge ọgụ n'ihe ndị ọzọ.
A na-eji percentiles na-atụ ihe n'ụzọ dị mma, dị ka percentile nke 90 nke oge ịga n'ebe, ma ọ bụ percentile ọmụmụ nwa, na iji gosipụta oge ndị ọzọ.
Outliers
Iwu 1.5 × IQR bụ ngwa nyocha, ọ bụghị ikwupụta na nọmba ahụ bụ nke mmehịa. Nọmba a na-egosi na ọ nwere ike ịbụ ihe mmehịa n'ịde data, ajụjụ n'ịna ihe, ma ọ bụ ihe dị mba anya mana ọ bụ ihe eziokwu.
Tachị n'ịkpọpụta ihe ndị dị mba anya (outliers), leba anya n'ihe kpatara ha; ịkpọpụta data dị mma nwere ike ịkpata ihe na-ezu aka n'azịza ndị ahụ.
Ọrụ na ụzọ
Sort the values from smallest to largestInclusive (type 7): position h = (n − 1) × p, interpolate between the values around hExclusive (type 6): position h = (n + 1) × p, interpolate between the values around hIQR = Q3 − Q1; outliers are values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQRWeta nọmba ndị x(1) ≤ … ≤ x(n). Usoro inclusive (Hyndman–Fan type 7, Excel PERCENTILE.INC): h = (n − 1)·p + 1, ma nke p-th quantile bụ x(⌊h⌋) + (h − ⌊h⌋) × (x(⌊h⌋+1) − x(⌊h⌋)). Usoro exclusive (type 6, Excel PERCENTILE.EXC): h = (n + 1)·p, na-eji usoro ndị ahụ n'ụzọ dị otu, nke ihe ndị dị n'ebe ndị ọzọ nọ n'ime data eji ya mee ihe bụ ka a gbaa ya dị ka nke kacha ala ma ọ bụ nke kacha elu. Q1 na-eji p = 0.25, median p = 0.5 na Q3 p = 0.75. IQR = Q3 − Q1. Lower fence = Q1 − 1.5 × IQR; upper fence = Q3 + 1.5 × IQR; ihe ndị dị n'ebe ndị a nọ bụ outliers dị mma. N'ebe nọmba ndị dị n'ụzọ nọ n'etiti (odd), median bụ nọmba nọ n'etiti; n'ebe nọmba ndị dị n'ụzọ nọ n'etiti (even), median bụ average nke nọmba abụọ nọ n'etiti, n'ụzọ ndị ahụ abụọ.
Ọmụma atụmatụ
Data 1, 2, 3, 4, 5, 6, 7, 8
- Inclusive Q1: h = 7 × 0.25 + 1 = 2.75, ya bụ Q1 = 2 + 0.75 × (3 − 2) = 2.75.
- Exclusive Q1: h = 9 × 0.25 = 2.25, ya bụ Q1 = 2 + 0.25 × (3 − 2) = 2.25.
- Median n'ụzọ ndị ahụ abụọ = (4 + 5) ÷ 2 = 4.5.
Azịza: Q1 bụ 2.75 (inclusive) ma ọ bụ 2.25 (exclusive); median bụ 4.5.
Ajụjụ ndị a na-ajụkarị
Gịnị bụ interquartile range?
Q3 minus Q1, nke na-egosi otú 50% nke data nọ n'etiti dị n'ụzọ.
A na-achọta outliers otú dị así?
Ihe ndị karịrị 1.5 × IQR n'okpuru Q1 ma ọ bụ n'elu Q3.
Ime ihe n'ihi why do quartile methods differ?
Ndị na-atụ ihe (Statisticians) na-eji ụzọ ndị dị iche eji mee ihe interpolation; Excel na-enye ụdị inclusive na exclusive.
Kedu usoro m kwesịrị iji?
Jiri usoro nke ihe ọmụmụ gị, software ma ọ bụta ihe ọgụ gị kwuru; inclusive bụ nke kacha pụta ìhè.
Nke bụ median ka ọ bụ 50th percentile?
Ee.
Gịnị bụ ihe ise nchịkọta (five-number summary)?
Nke kacha ala, Q1, median, Q3 na nke kacha elu.