Exploring Averages and the Effects of Outliers

Exploring Averages and the Effects of Outliers
Loading the math board and drawing, please wait…
2019-12-15 19:18
This example demonstrates how moving data points and selecting outliers affect measures of averages. It uses commands like Point, Sequence, RemoveUndefined, Segment, LineBisector, Intersect, and OrthogonalLine. Suitable for middle school and above students or teachers to understand statistical concepts such as arithmetic mean and mode.

GeoGebra Commands & Parameters

  1. Point(xAxis) → T
  2. Point(xAxis) → J
  3. Point(xAxis) → I
  4. Point(xAxis) → H
  5. Point(xAxis) → B
  6. Point(xAxis) → C
  7. Point(xAxis) → D
  8. Point(xAxis) → E
  9. Point(xAxis) → F
  10. Point(xAxis) → G
  11. Point(xAxis) → A
  12. Sequence((If[Element[matrix1, 2, i] ≟ 0, Element[matrix1, 1, i]], 0), i, 1, 11) → list1
  13. Sequence((If[Element[matrix1, 2, i] ≟ 1, Element[matrix1, 1, i]], 0), i, 1, 11) → list2
  14. RemoveUndefined(list1) → list3
  15. RemoveUndefined(list2) → list4
  16. Segment((Min[x(list3)], 3), (Max[x(list3)], 3)) → m
  17. Sequence((Element[list5, i], 3), i, 1, Length[list4]) → list6
  18. LineBisector(m) → i
  19. Intersect(i, m) → L
  20. OrthogonalLine(Median, xAxis) → p
  21. OrthogonalLine(Mean, xAxis) → q
  22. Intersect(q, xAxis) → M
  23. Intersect(p, xAxis) → N
  24. Segment(Median, N) → s
  25. Segment(Mean, M) → t

AI Drawing Prompt Reference

Create a coordinate system and place 11 points on the x-axis in order: T, J, I, H, B, C, D, E, F, G, A. Then, generate two lists, list1 and list2, containing non-zero and non-one x-coordinates respectively. Remove any undefined values from these lists. Draw a horizontal line m with endpoints at the minimum and maximum x-coordinates of list3. Next, draw a median line p and a mean line q, both perpendicular to the x-axis. Finally, find the intersection points of these lines with the x-axis to get points N and M, and draw two line segments s and t between these points.
The prompt above was compiled from the original drawing commands and is for reference only.