Mean, Median, Mode, and Range by Auston B Cron

Mean, Median, Mode, and Range by Auston B Cron
Loading the math board and drawing, please wait…
2016-02-13 06:22
This example demonstrates common data analysis of a list of values, helping students understand the concepts of mean, median, mode, and range. Using GeoGebra commands such as Random, Sequence, and Sort, students can visually see the calculation process of these statistical features. Suitable for middle school and above students to learn basic concepts of data statistics.

GeoGebra Commands & Parameters

  1. Random(10^(minNum), 10^(MaxDigits)) → a
  2. Sequence(a, k, 1, NumValue) → list1, {7, 10, 10, 7, 3, 9, 2}
  3. Sort(list1) → list2
  4. Sum(list1) → sum
  5. mean(list1) → mean1
  6. Mode(list1) → mode_1
  7. Median(list1) → median1
  8. Element(range_1, 1) → range1
  9. If(range2 ≟ range1, "Great Job") → rangeText
  10. Element(mode_1, 1) → mode1
  11. Textfield(text_{mean}) → Input_{mean}
  12. Textfield(text_{median}) → Input_{median}
  13. Textfield(text_{range}) → Input_{range}
  14. If(floor((100 * mean1) + 0.5) / 100 ≟ mean2, "Great Job") → meanText
  15. If(floor((100 * median1)) / 100 ≟ median2, "Great Job") → medianText
  16. Mode(list2) → list_{1}
  17. Textfield(list_{empty}) → Input_{mode}
  18. If(Length[list_{1}] > 0, If[list_{empty} ≟ mode_1, "Great Job"]) → modeText
  19. If(list_{1} ≟ {}, "Great Job", "Sorry") → text1