Measures of Central Tendency: Interactive GeoGebra Exploration of Mean, Median,

Measures of Central Tendency: Interactive GeoGebra Exploration of Mean, Median,
Loading the math board and drawing, please wait…
2020-09-01 01:41
This GeoGebra example interactively demonstrates the three main measures of central tendency: mean, median, and mode. Learners can input or generate random data, and the construction uses commands such as Sequence, Shuffle, Sort, mean, median, and mode to build the data list and compute the statistics on the fly. The interface includes sliders to adjust the data range, buttons to recalculate, and text objects (textMean, textMedianOdd, textMedianEven, listMode) to display results. It is designed for middle‑school statistics lessons and introductory data‑analysis courses, providing a visual and hands‑on way to understand how central tendency is calculated and interpreted.

GeoGebra Commands & Parameters

  1. SelectedElement(listNx) → nX
  2. Sequence(Segment[(0, i), (20, i)], i, seperation, (12 * seperation), seperation) → listGridX
  3. Point(listGridX) → A
  4. Point(listGridX) → B
  5. Point(listGridX) → C
  6. Point(listGridX) → D
  7. Point(listGridX) → E
  8. Point(listGridX) → F
  9. Point(listGridX) → G
  10. Point(listGridX) → H
  11. Point(listGridX) → I
  12. Point(listGridX) → J
  13. Point(listGridX) → K
  14. Point(listGridX) → L
  15. Sort(listDataX) → listDataXsorted
  16. mean(listDataX) → meanX
  17. If(nX ≥ 11, 0.7, If[nX ≥ 9, 0.85, 1]) → scale
  18. Median(listDataX) → q2
  19. Ray((0, 0), (1, 0)) → b
  20. Point(b) → Q_2
  21. Vector(Q_2, Q_2 + (0, 0.8)) → v
  22. Sequence(Text[Element[If[sorted, listDataXsorted, listDataX], i]] + "+", i, 1, nX - 1) → list1
  23. Mode(listDataX) → listMode
  24. Sequence(Random[0, 20], i, 1, nX) → listRand
  25. Frequency(listRand) → listFreq
  26. Sort(listRand) → listRandSort
  27. Flatten(Zip[Sequence[(seperation * i), i, 1, k], k, listFreq]) → listHeight
  28. Shuffle(Zip[(h, k), h, listRandSort, k, listHeight]) → listPosition, {(8, 0.4), (0, 0.4), (15, 0.4), (12, 0.4), (11, 0.4), (5, 0.4), (15, 0.8)}
  29. Segment((meanX, 0), (meanX, 4)) → sMean
  30. Segment((q2, 0), (q2, 3.5)) → sMedian
  31. Zip(Segment[(k, 0), (k, 3)], k, listMode) → listModeSegment

AI Drawing Prompt Reference

Create a drawing that features a series of horizontal lines forming a grid from x=0 to x=20, spaced evenly. Mark twelve points along these lines. Add a bar chart where each bar is positioned at the x‑coordinate of a random data value and its height corresponds to the frequency of that value. Include vertical line segments at the mean, median, and mode positions to illustrate these measures of central tendency, and add text labels showing the data values and the computed statistics.
The prompt above was compiled from the original drawing commands and is for reference only.