Measures of Central Tendency for Two Data Sets

Measures of Central Tendency for Two Data Sets
Loading the math board and drawing, please wait…
2020-09-01 01:42
This GeoGebra example demonstrates the calculation and visualization of measures of central tendency (mean, median, mode) for two data sets, using boxplots to represent data distribution. Core mathematical concepts include descriptive statistics, central tendency measures, data sorting, and frequency analysis. The construction employs GeoGebra commands such as Sequence, Point, Sort, Mean, Median, Mode, Frequency, Flatten, Shuffle, Segment, and Zip, along with objects like sorted lists, meanX, and box1, to create interactive plots. It is suitable for high school or introductory college statistics courses, providing an engaging way to teach data analysis and graphical representation.

GeoGebra Commands & Parameters

  1. SelectedElement(listNx) → nX
  2. Sequence(Segment[(0, i), (20, i)], i, seperation, (20 * seperation), seperation) → listGrid
  3. Point(listGrid) → A
  4. Point(listGrid) → B
  5. Point(listGrid) → C
  6. Point(listGrid) → D
  7. Point(listGrid) → E
  8. Point(listGrid) → F
  9. Point(listGrid) → G
  10. Point(listGrid) → H
  11. Point(listGrid) → I
  12. Point(listGrid) → J
  13. Sort(listDataX) → listDataXsorted
  14. Mean(listDataX) → meanX
  15. If(nX ≥ 11, 0.7, If[nX ≥ 9, 0.85, 1]) → scale
  16. Median(listDataX) → medianX
  17. Ray((0, 0), (1, 0)) → b
  18. Mode(listDataX) → listModeX
  19. Sequence(Random[0, 20], i, 1, nX) → listRandX
  20. Frequency(listRandX) → listFreqX
  21. Sort(listRandX) → listRandSortX
  22. Flatten(Zip[Sequence[(seperation * i), i, 1, k], k, listFreqX]) → listHeightX
  23. Shuffle(Zip[(h, k), h, listRandSortX, k, listHeightX]) → listPositionX
  24. Point(listGrid) → K
  25. Point(listGrid) → L
  26. Point(listGrid) → M
  27. Point(listGrid) → N
  28. Point(listGrid) → O
  29. Point(listGrid) → P
  30. Point(listGrid) → Q
  31. Point(listGrid) → R
  32. Point(listGrid) → S
  33. Point(listGrid) → T
  34. SelectedElement(listNy) → nY
  35. Sequence(Random[0, 20], i, 1, nY) → listRandY
  36. Sort(listRandY) → listRandSortY
  37. Frequency(listRandY) → listFreqY
  38. Sort(listDataY) → listDataYsorted
  39. Flatten(Zip[Sequence[(seperation * (i + 10)), i, 1, k], k, listFreqY]) → listHeightY
  40. Shuffle(Zip[(h, k), h, listRandSortY, k, listHeightY]) → listPositionY
  41. Mean(listDataY) → meanY
  42. Median(listDataY) → medianY
  43. Mode(listDataY) → listModeY
  44. Segment((meanX, 0), (meanX, 4)) → sMeanX
  45. Segment((meanY, 4.4), (meanY, 8.4)) → sMeanY
  46. Zip(Segment[(k, 0), (k, 3)], k, listModeX) → listModeSegX
  47. Segment((medianX, 0), (medianX, 3.5)) → sMedianX
  48. Segment((medianY, 4.4), (medianY, 7.9)) → sMedianY
  49. Zip(Segment[(k, 4.4), (k, 7.4)], k, listModeY) → listModeSegY

AI Drawing Prompt Reference

Draw box plots for two data sets to display mean, median, and mode, with different colors for each set. Generate random points for each set, calculate mean, median, and mode, then draw corresponding line segments in the coordinate system. The upper and lower edges of the box plot represent the quartiles, and the middle line segment indicates the median. Place the box plots side by side for comparison.
The prompt above was compiled from the original drawing commands and is for reference only.