{"base":{"id":"alcm-36-03","subject":"Combined Maths","title":"Quartiles and percentiles","scene":"alcm","steps":[{"mode":"fig","work":{"title":"Write it like this","lines":["grouped: use the median formula with n/4 or 3n/4","Q₁: n/4 = 10, class 10–20 (F = 5, f = 8)","Q₁ = 10 + (10 − 5)/8 × 10 = 16.25",{"t":"Q₃: 3n/4 = 30, class 30–40 (F = 25, f = 10)","note":"Q₃ = 30 + 5/10 × 10 = 35"}]},"say":["Tap for quartiles.","The method.","Lower quartile class.","Q one.","Q three."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Quartiles","title":"Splitting the data into quarters","body":"The lower quartile Q₁ has a quarter of the data below it, the median Q₂ a half, and the upper quartile Q₃ three quarters."},{"mode":"fig","work":{"title":"Write it like this","lines":["IQR = 35 − 16.25 = 18.75",{"t":"range = largest − smallest","note":"sensitive to outliers"},{"t":"semi-interquartile range = IQR/2","note":"also used"}]},"say":["Tap for spread.","IQR.","Range.","Half of it."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Spread","title":"Interquartile range","body":"The interquartile range IQR = Q₃ − Q₁ covers the middle half of the data and is not affected by extreme values."},{"mode":"plot","controls":[{"id":"k","label":"percentile k","min":5,"max":95,"step":5,"value":25}],"view":[-2,-2,52,42],"axes":{"xs":10,"ys":5,"xl":"x","yl":"CF"},"fns":[{"e":"iff(gt(10,x),0.5*x,iff(gt(20,x),5+0.8*(x-10),iff(gt(30,x),13+1.2*(x-20),iff(gt(40,x),25+(x-30),35+0.5*(x-40)))))","col":"o","from":0,"to":50}],"segs":[{"p":["0","0.4*k","iff(gt(5,0.4*k),2*0.4*k,iff(gt(13,0.4*k),10+(0.4*k-5)/0.8,iff(gt(25,0.4*k),20+(0.4*k-13)/1.2,iff(gt(35,0.4*k),30+(0.4*k-25),40+(0.4*k-35)/0.5))))","0.4*k"],"col":"r","dash":1},{"p":["iff(gt(5,0.4*k),2*0.4*k,iff(gt(13,0.4*k),10+(0.4*k-5)/0.8,iff(gt(25,0.4*k),20+(0.4*k-13)/1.2,iff(gt(35,0.4*k),30+(0.4*k-25),40+(0.4*k-35)/0.5))))","0.4*k","iff(gt(5,0.4*k),2*0.4*k,iff(gt(13,0.4*k),10+(0.4*k-5)/0.8,iff(gt(25,0.4*k),20+(0.4*k-13)/1.2,iff(gt(35,0.4*k),30+(0.4*k-25),40+(0.4*k-35)/0.5))))","0"],"col":"r","dash":1,"arr":1}],"ptitle":"Percentiles","rows":["k = {k|0}%,  position = {0.4*k|1} of 40",["P_k = {iff(gt(5,0.4*k),2*0.4*k,iff(gt(13,0.4*k),10+(0.4*k-5)/0.8,iff(gt(25,0.4*k),20+(0.4*k-13)/1.2,iff(gt(35,0.4*k),30+(0.4*k-25),40+(0.4*k-35)/0.5))))|2}","r"],["Q₁ = P₂₅ = 16.25,  Q₃ = P₇₅ = 35","k"]],"note":"P₉₀: position 36, class 40–50: 40 + (36 − 35)/5 × 10 = 42.","st":"P{k|0} = {iff(gt(5,0.4*k),2*0.4*k,iff(gt(13,0.4*k),10+(0.4*k-5)/0.8,iff(gt(25,0.4*k),20+(0.4*k-13)/1.2,iff(gt(35,0.4*k),30+(0.4*k-25),40+(0.4*k-35)/0.5))))|2}","eyebrow":"Explore","title":"Reading percentiles from the ogive","body":"Choose a percentage k. The k-th percentile is the value with k% of the 40 values below it. Read it across from the ogive."},{"mode":"fig","work":{"title":"Write it like this","lines":["0, 16.25, 25.83, 35, 50",{"t":"box from Q₁ to Q₃, line at the median","note":"middle half"},{"t":"outlier rule: below Q₁ − 1.5 IQR or above Q₃ + 1.5 IQR","note":"a common convention"}]},"say":["Tap for box plots.","Five numbers.","The box.","Outliers."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Box plots","title":"Five-number summary","body":"A box plot shows the smallest value, Q₁, median, Q₃ and largest value. It shows centre, spread and skewness at a glance."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5],"t":"Q₁ = 12,  Q₃ = 30","size":84,"col":"v","max":1400}]},"eyebrow":"Check yourself","title":"Quartiles","body":"IQR = Q₃ − Q₁.","question":"Q₁ = 12 and Q₃ = 30. The IQR is…","options":["21","18","42"],"answer":1,"right":"Correct.","wrong":"Not quite. Subtract Q₁ from Q₃."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Quartiles in detail","items":[{"tag":"Ungrouped","title":"Small data sets","body":"For ordered data, Q₁ is the median of the lower half and Q₃ the median of the upper half. For 1, 3, 4, 6, 8, 9, 12: Q₁ = 3, Q₂ = 6, Q₃ = 9."},{"tag":"Deciles","title":"Tenths and hundredths","body":"Deciles D₁, …, D₉ split the data into tenths; percentiles P₁, …, P₉₉ into hundredths. Q₁ = P₂₅, median = P₅₀ = D₅."},{"tag":"Uses","title":"Percentile ranks","body":"\"Your score is at the 85th percentile\" means 85% of candidates scored lower. Growth charts for children use percentiles too."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Using n/4 for the class value","body":"n/4 is a position. Find the class containing it, then interpolate."},{"tag":"Common mistake","title":"IQR = Q₃ + Q₁","body":"It is the difference Q₃ − Q₁."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"For 2, 4, 5, 7, 9, 11, 13 (7 values): median?","options":["9","5","7"],"answer":2,"right":"Correct. Q₁ = median of the lower half, Q₃ of the upper half.","wrong":"Not quite. Exclude the median for odd n."},{"level":"easy","question":"For 2, 4, 5, 7, 9, 11, 13 (7 values): Q₁?","options":["5","2","4"],"answer":2,"right":"Correct. Q₁ = median of the lower half, Q₃ of the upper half.","wrong":"Not quite. Exclude the median for odd n."},{"level":"easy","question":"For 2, 4, 5, 7, 9, 11, 13 (7 values): Q₃?","options":["9","11","13"],"answer":1,"right":"Correct. Q₁ = median of the lower half, Q₃ of the upper half.","wrong":"Not quite. Exclude the median for odd n."},{"level":"easy","question":"For 2, 4, 5, 7, 9, 11, 13 (7 values): IQR?","options":["11","9","7"],"answer":2,"right":"Correct. Q₁ = median of the lower half, Q₃ of the upper half.","wrong":"Not quite. Exclude the median for odd n."},{"level":"easy","question":"For 2, 4, 5, 7, 9, 11, 13 (7 values): range?","options":["11","13","7"],"answer":0,"right":"Correct. Q₁ = median of the lower half, Q₃ of the upper half.","wrong":"Not quite. Exclude the median for odd n."},{"level":"easy","question":"Q₂ is the…","options":["median","mean","mode"],"answer":0,"right":"Correct. Quartiles, deciles, percentiles.","wrong":"Not quite. Q₁ = P₂₅, Q₃ = P₇₅."},{"level":"easy","question":"P₅₀ = ?","options":["Q₁","Q₂","Q₃"],"answer":1,"right":"Correct. Quartiles, deciles, percentiles.","wrong":"Not quite. Q₁ = P₂₅, Q₃ = P₇₅."},{"level":"easy","question":"P₂₅ = ?","options":["Q₃","Q₁","D₂"],"answer":1,"right":"Correct. Quartiles, deciles, percentiles.","wrong":"Not quite. Q₁ = P₂₅, Q₃ = P₇₅."},{"level":"easy","question":"D₅ = ?","options":["the median","Q₁","Q₃"],"answer":0,"right":"Correct. Quartiles, deciles, percentiles.","wrong":"Not quite. Q₁ = P₂₅, Q₃ = P₇₅."},{"level":"easy","question":"The IQR covers…","options":["all the data","the top quarter","the middle 50% of the data"],"answer":2,"right":"Correct. Quartiles, deciles, percentiles.","wrong":"Not quite. Q₁ = P₂₅, Q₃ = P₇₅."},{"level":"medium","question":"Grouped: 0–10, 10–20, 20–30, 30–40 with f = 4, 10, 16, 10 (n = 40). Q₁?","options":["15","10","16"],"answer":2,"right":"Correct. Position k·n/100, then interpolate in the class.","wrong":"Not quite. Q₁: position 10, class 10–20 (F = 4, f = 10)."},{"level":"medium","question":"Grouped: 0–10, 10–20, 20–30, 30–40 with f = 4, 10, 16, 10 (n = 40). Q₃?","options":["30","31","35"],"answer":0,"right":"Correct. Position k·n/100, then interpolate in the class.","wrong":"Not quite. Q₁: position 10, class 10–20 (F = 4, f = 10)."},{"level":"medium","question":"Grouped: 0–10, 10–20, 20–30, 30–40 with f = 4, 10, 16, 10 (n = 40). IQR?","options":["14","15","20"],"answer":0,"right":"Correct. Position k·n/100, then interpolate in the class.","wrong":"Not quite. Q₁: position 10, class 10–20 (F = 4, f = 10)."},{"level":"medium","question":"Grouped: 0–10, 10–20, 20–30, 30–40 with f = 4, 10, 16, 10 (n = 40). P₉₀?","options":["35","36","38"],"answer":1,"right":"Correct. Position k·n/100, then interpolate in the class.","wrong":"Not quite. Q₁: position 10, class 10–20 (F = 4, f = 10)."},{"level":"medium","question":"Grouped: 0–10, 10–20, 20–30, 30–40 with f = 4, 10, 16, 10 (n = 40). P₁₀?","options":["10","5","4"],"answer":0,"right":"Correct. Position k·n/100, then interpolate in the class.","wrong":"Not quite. Q₁: position 10, class 10–20 (F = 4, f = 10)."},{"level":"medium","question":"Q₁ = 20, Q₃ = 40. Lower outlier fence (Q₁ − 1.5 IQR)?","options":["0","10","−10"],"answer":2,"right":"Correct. Fences at Q₁ − 1.5 IQR and Q₃ + 1.5 IQR.","wrong":"Not quite. IQR = 20."},{"level":"medium","question":"…upper fence?","options":["60","70","80"],"answer":1,"right":"Correct. Fences at Q₁ − 1.5 IQR and Q₃ + 1.5 IQR.","wrong":"Not quite. IQR = 20."},{"level":"medium","question":"Is 75 an outlier there?","options":["no","cannot tell","yes"],"answer":2,"right":"Correct. Fences at Q₁ − 1.5 IQR and Q₃ + 1.5 IQR.","wrong":"Not quite. IQR = 20."},{"level":"medium","question":"A box plot shows…","options":["the mean and SD","min, Q₁, median, Q₃, max","every value"],"answer":1,"right":"Correct. Fences at Q₁ − 1.5 IQR and Q₃ + 1.5 IQR.","wrong":"Not quite. IQR = 20."},{"level":"medium","question":"If the median line is closer to Q₁, the data are…","options":["negatively skewed","positively skewed","symmetric"],"answer":1,"right":"Correct. Fences at Q₁ − 1.5 IQR and Q₃ + 1.5 IQR.","wrong":"Not quite. IQR = 20."},{"level":"hard","question":"For 1, 3, 4, 6, 8, 9, 10, 12 (8 values): Q₁?","options":["3","4","3.5"],"answer":2,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"…Q₃?","options":["9.5","9","10"],"answer":0,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"…median?","options":["6","7","8"],"answer":1,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"A student is at the 80th percentile. This means…","options":["the student scored 80%","80% scored at or below that mark","80 students scored higher"],"answer":1,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"Adding 10 to every value changes the IQR by…","options":["0","+10","×10"],"answer":0,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"Multiplying every value by 3 changes the IQR by…","options":["+3","0","×3"],"answer":2,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"The semi-interquartile range of Q₁ = 12, Q₃ = 28 is…","options":["16","20","8"],"answer":2,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"Reading the median from an ogive with n = 200 uses CF = …","options":["50","100","200"],"answer":1,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"…Q₃ uses CF = …","options":["75","150","100"],"answer":1,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."},{"level":"hard","question":"The IQR is preferred to the range because…","options":["it is not affected by outliers","it is larger","it uses all values"],"answer":0,"right":"Correct. Positions and interpolation; quartiles are resistant.","wrong":"Not quite. Even n: split into two halves of 4."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Quartile","meaning":"Q₁, Q₂, Q₃ split data into quarters."},{"word":"Interquartile range","meaning":"Q₃ − Q₁."},{"word":"Percentile","meaning":"Pₖ, k% of data below it."},{"word":"Decile","meaning":"Splits data into tenths."},{"word":"Box plot","meaning":"Diagram of the five-number summary."},{"word":"Range","meaning":"Largest − smallest."}]},{"type":"checklist","id":"check","title":"I can…","items":["find quartiles and percentiles of grouped data","find and interpret the interquartile range","draw box plots and spot outliers"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, G.C.E. (A/L) Combined Mathematics syllabus, Grade 12 and 13, 2017 (competency level II 5.3)."]}],"slug":"quartiles-percentiles"},"overlay":null}