Mean and Standard Deviation of a Data Set

Mean and Standard Deviation of a Data Set
Loading the math board and drawing, please wait…
2015-09-29 12:44
This example demonstrates the distribution of data points with a red line representing the mean. Using GeoGebra commands such as Point, Segment, and Vector, one can visually understand the concepts of mean and standard deviation in statistics. Suitable for high school and above students.

GeoGebra Commands & Parameters

  1. Point(C1) → D1
  2. Point(C2) → D2
  3. Point(C3) → D3
  4. Point(C4) → D4
  5. Point(C5) → D5
  6. Point(C6) → D6
  7. Point(C7) → D7
  8. Point(C8) → D8
  9. Point(C9) → D9
  10. Point(C10) → D10
  11. Point(C11) → D11
  12. Point(C12) → D12
  13. Point(C13) → D13
  14. Point(C14) → D14
  15. Point(C15) → D15
  16. Point(C16) → D16
  17. Point(C17) → D17
  18. Point(C18) → D18
  19. Point(C19) → D19
  20. Point(C20) → D20
  21. Cell(6, n) → mu
  22. Cell(7, n) → stdev
  23. Point(C21) → D21
  24. Point(C22) → D22
  25. Point(C23) → D23
  26. Point(C24) → D24
  27. Point(C25) → D25
  28. Point(C26) → D26
  29. Point(C27) → D27
  30. Point(C28) → D28
  31. Point(C29) → D29
  32. Point(C30) → D30
  33. Segment((mu, 0), (mu, (h * (n + 10)))) → c
  34. Vector((mu, (h * (n + 5))), (mu - stdev, (h * (n + 5)))) → v
  35. Vector((mu, (h * (n + 5))), (mu + stdev, (h * (n + 5)))) → u
  36. Point(C31) → D31
  37. Point(C32) → D32
  38. Point(C33) → D33
  39. Point(C34) → D34
  40. Point(C35) → D35
  41. Point(C36) → D36
  42. Point(C37) → D37
  43. Point(C38) → D38
  44. Point(C39) → D39
  45. Point(C40) → D40
  46. Cell(5, 1) → a
  47. SD(E$1:E1) → G1
  48. SD(E$1:E2) → G2
  49. SD(E$1:E3) → G3
  50. SD(E$1:E4) → G4
  51. SD(E$1:E5) → G5
  52. SD(E$1:E6) → G6
  53. SD(E$1:E7) → G7
  54. SD(E$1:E8) → G8
  55. SD(E$1:E9) → G9
  56. SD(E$1:E10) → G10
  57. SD(E$1:E11) → G11
  58. SD(E$1:E12) → G12
  59. SD(E$1:E13) → G13
  60. SD(E$1:E14) → G14
  61. SD(E$1:E15) → G15
  62. SD(E$1:E16) → G16
  63. SD(E$1:E17) → G17
  64. SD(E$1:E18) → G18
  65. SD(E$1:E19) → G19
  66. SD(E$1:E20) → G20
  67. SD(E$1:E21) → G21
  68. SD(E$1:E22) → G22
  69. SD(E$1:E23) → G23
  70. SD(E$1:E24) → G24
  71. SD(E$1:E25) → G25
  72. SD(E$1:E26) → G26
  73. SD(E$1:E27) → G27
  74. SD(E$1:E28) → G28
  75. SD(E$1:E29) → G29
  76. SD(E$1:E30) → G30
  77. SD(E$1:E31) → G31
  78. SD(E$1:E32) → G32
  79. SD(E$1:E33) → G33
  80. SD(E$1:E34) → G34
  81. SD(E$1:E35) → G35
  82. SD(E$1:E36) → G36
  83. SD(E$1:E37) → G37
  84. SD(E$1:E38) → G38
  85. SD(E$1:E39) → G39
  86. SD(E$1:E40) → G40
  87. Mean(E$1:E2) → F2
  88. Mean(E$1:E1) → F1
  89. Mean(E$1:E3) → F3
  90. Mean(E$1:E4) → F4
  91. Mean(E$1:E5) → F5
  92. Mean(E$1:E6) → F6
  93. Mean(E$1:E7) → F7
  94. Mean(E$1:E8) → F8
  95. Mean(E$1:E9) → F9
  96. Mean(E$1:E10) → F10
  97. Mean(E$1:E11) → F11
  98. Mean(E$1:E12) → F12
  99. Mean(E$1:E13) → F13
  100. Mean(E$1:E14) → F14
  101. Mean(E$1:E15) → F15
  102. Mean(E$1:E16) → F16
  103. Mean(E$1:E17) → F17
  104. Mean(E$1:E18) → F18
  105. Mean(E$1:E19) → F19
  106. Mean(E$1:E20) → F20
  107. Mean(E$1:E21) → F21
  108. Mean(E$1:E22) → F22
  109. Mean(E$1:E23) → F23
  110. Mean(E$1:E24) → F24
  111. Mean(E$1:E25) → F25
  112. Mean(E$1:E26) → F26
  113. Mean(E$1:E27) → F27
  114. Mean(E$1:E28) → F28
  115. Mean(E$1:E29) → F29
  116. Mean(E$1:E30) → F30
  117. Mean(E$1:E31) → F31
  118. Mean(E$1:E32) → F32
  119. Mean(E$1:E33) → F33
  120. Mean(E$1:E34) → F34
  121. Mean(E$1:E35) → F35
  122. Mean(E$1:E36) → F36
  123. Mean(E$1:E37) → F37
  124. Mean(E$1:E38) → F38
  125. Mean(E$1:E39) → F39
  126. Mean(E$1:E40) → F40
  127. Point(C41) → D41
  128. SD(E$1:E41) → G41
  129. Mean(E$1:E41) → F41
  130. Point(C42) → D42
  131. SD(E$1:E42) → G42
  132. Mean(E$1:E42) → F42
  133. Point(C43) → D43
  134. SD(E$1:E43) → G43
  135. Mean(E$1:E43) → F43
  136. Point(C44) → D44
  137. SD(E$1:E44) → G44
  138. Mean(E$1:E44) → F44
  139. Point(C45) → D45
  140. SD(E$1:E45) → G45
  141. Mean(E$1:E45) → F45
  142. Point(C46) → D46
  143. SD(E$1:E46) → G46
  144. Mean(E$1:E46) → F46
  145. Point(C47) → D47
  146. SD(E$1:E47) → G47
  147. Mean(E$1:E47) → F47
  148. Point(C48) → D48
  149. SD(E$1:E48) → G48
  150. Mean(E$1:E48) → F48
  151. Point(C49) → D49
  152. SD(E$1:E49) → G49
  153. Mean(E$1:E49) → F49
  154. Point(C50) → D50
  155. SD(E$1:E50) → G50
  156. Mean(E$1:E50) → F50

AI Drawing Prompt Reference

Draw 20 data points in a coordinate system, with a red line representing the mean and vectors showing the standard deviation ranges on both sides to illustrate data distribution. Start by plotting the data points, then draw the red line for the mean, and finally add vectors for the standard deviations to help understand the concepts of mean and standard deviation in statistics.
The prompt above was compiled from the original drawing commands and is for reference only.