2.7.4 · D4 · HinglishStatistics & Probability — Intermediate

ExercisesBox-and-whisker plots — quartiles, IQR

2,637 words12 min read↑ Read in English

2.7.4 · D4 · Maths › Statistics & Probability — Intermediate › Box-and-whisker plots — quartiles, IQR

Shuru karne se pehle, ek shared reminder — poore toolkit ka, bilkul ground up se — koi bhi symbol use karne se pehle uska meaning fix kar lete hain.

Har ek idea ki poori build-up ke liye Box-and-whisker plots — quartiles, IQR dekho jo yahan use ki gayi hai.


Level 1 — Recognition

L1·Q1

Neeche diya gaya box plot ek number line pe drawn hai. Picture se seedha padho: median, , , dono whisker ends, aur koi bhi outlier.

Figure — Box-and-whisker plots — quartiles, IQR
Recall Solution

Axis pe marked positions padhne par:

  • Left whisker end (sabse chhota non-outlier)
  • Box ka left edge
  • Box ke andar ki line
  • Box ka right edge
  • Right whisker end (sabse bada non-outlier)
  • Right whisker ke baad akela dot outlier

Yahi L1 ki puri skill hai: ek box plot ek map hai, aur har landmark ka ek hi matlab hai. Inse hum bhi padh sakte hain.

L1·Q2

Sorted list (, odd) ke liye, batao woh value kaun si hai jo hai aur kaho ki lower half mein konsi values hain.

Recall Solution

odd hai, toh position par single middle value hai, jo 3rd value deti hai. Lower half = median position ke neeche ki values = (median kisi bhi half mein nahi aata kyunki odd hai).


Level 2 — Application

L2·Q1

() ke liye aur IQR compute karo.

Recall Solution

Sort: . Median: position value deta hai. Lower half ( odd, pehli 4, median excluded): uska median . Upper half (aakhri 4): median . IQR .

L2·Q2

Data (sorted): (). Five-number summary (min, , , , max) aur IQR nikalo.

Recall Solution

even hai, toh hum list ko pehli values aur aakhri values mein split karte hain. Median: even , 4th aur 5th values ka average . Lower half (pehli 4): . Upper half (aakhri 4): . Five-number summary: min , , , , max . IQR .

L2·Q3

L2·Q2 ke data ke liye outlier fences nikalo, phir batao ki har whisker kahan end hoti hai.

Recall Solution

. Lower fence . Upper fence . Har value aur ke beech hai, toh koi outlier nahi. Whiskers extreme data points tak pahunchti hain: left whisker tak, right whisker tak (fences ya tak nahi).


Level 3 — Analysis

L3·Q1

Data (sorted): (). Numerically dikhao ki agar delete karo toh IQR barely change hota hai, lekin range collapse ho jaata hai. Explain karo ki yeh kya reveal karta hai.

Recall Solution

ke saath: median ; lower half ; upper half . IQR . Range . delete karo (): ; median ; lower half ; upper half . IQR . Range . Reveal: IQR par raha (unchanged), jabki range se crash karke ho gayi. Range do most extreme points se bani hoti hai, toh ek wild value usse dominate karti hai; IQR sirf inner quartiles use karta hai, isliye woh robust hai. Yahi Outliers and Robust Statistics aur Range and Spread ka point hai.

L3·Q2

(L2·Q1: ) ke liye, median ke neeche ka gap () aur upar ka gap () compare karo. Yeh asymmetry data ki shape ke baare mein kya kehti hai?

Recall Solution

Lower gap . Upper gap . Upper gap bada hai, toh box ka right half left half se wider hai. High side pe zyada stretch ka matlab hai ki values median ke upar zyada spread hain, toh distribution right-skewed hai (large values ki taraf tail). Aise ek box plot Skewness ko bina kisi formula ke reveal karta hai.


Level 4 — Synthesis

L4·Q1

Tumhe bataya gaya hai ki ke ek data set mein , hai, aur high side par exactly ek outlier hai. Uski sorted values hain Sabse chhota integer nikalo jo last value ko genuine upper outlier banaye, aur batao ki right whisker phir kahan end hogi.

Recall Solution

. Upper fence . Ek point outlier hota hai jab woh fence se strictly greater ho: . Sabse chhota integer hai. ke saath, fence ke andar sabse badi value hai, toh right whisker par end hoti hai aur ek akele dot ki tarah draw hota hai. (Check: hume as given rakhne hain. Sirf last value change karne se nahi hilta: upper half hai, jiska median middle value hai chahe kitna bhi bada ho — consistent hai.)

L4·Q2

Ek 7-value data set (integers) banao jiska median ho, IQR ho, aur jisme koi outlier na ho. Phir apna set verify karo.

Recall Solution

Design plan: odd matlab halves se median drop karo. Chahiye , aur . pick karo (difference ). Lower half (3 values) ka median hona chahiye; upper half (3 values) ka median . Ek valid set: . Verify: sorted ✓. Median position deta hai ✓. Lower half ka median ✓. Upper half ka median ✓. IQR ✓. Fences: lower ; upper . Saara data mein hai, toh koi outlier nahi ✓. (Bahut saare answers possible hain; koi bhi set jo teeno targets match kare, sahi hai.)


Level 5 — Mastery

L5·Q1 (degenerate / edge case)

Data (, sab identical) consider karo. Five-number summary, IQR, aur fences compute karo. Box plot kaisa dikhega?

Recall Solution

Sorted (already): sab . Median . Lower half . Upper half . . Fences: lower ; upper . Dono fences exactly par hain. Plot: box ki zero width hai (ek single vertical line at ), median line uske upar, whiskers ki length zero. Har point ke barabar hai, jo fence par hai (usse bahar nahi), toh kuch bhi flag nahi hota. Zero IQR "bilkul koi spread nahi" ki honest picture hai.

L5·Q2 (four-value halves & tie-breaking)

Data (sorted): (). Five-number summary, IQR, fences nikalo, koi bhi outliers list karo, aur dono whisker ends batao.

Recall Solution

Median: even , 5th aur 6th ka average . Lower half (pehli 5): median (3rd) . Upper half (aakhri 5): median (3rd) . IQR . Fences: lower ; upper . Saari values ke andar hain, toh koi outlier nahi. Whiskers: left se tak (min), right se tak (max). Dhyan do ki median ek aisi value hai jo data mein appear hi nahi karti — yeh theek hai, median ek position-based cut point hai, observation hona zaroori nahi. Yeh distribution clearly bimodal hai (ek low clump aur ek high clump), phir bhi summary ise cleanly handle kar leti hai. Dekho Percentiles and Quantiles.

L5·Q3 (reverse-engineering from a summary)

Ek report kehti hai: min , , median , , max , aur kam se kam ek outlier hai. Prove karo ki ek outlier zaroor exist karta hai aur identify karo ki kaun sa extreme offender hai.

Recall Solution

. Upper fence . Lower fence . Max , toh woh upper fence se bahar hai aur outlier hai (offender high side par hai). Min satisfy karta hai , toh low end theek hai. Isliye ek outlier zaroor exist karta hai, aur woh ke paas wali badi value hai. Hum exact data recover nahi kar sakte, lekin summary akele hi yeh conclusion force karti hai — five-number summary ki power ek compact fingerprint ke roop mein.


Recall checklist


Connections