Presidential Statistics: Piecewise Linear Regression and Boxplot

Presidential Statistics: Piecewise Linear Regression and Boxplot
Loading the math board and drawing, please wait…
2019-03-20 07:33
This GeoGebra example demonstrates how to analyze statistical data related to U.S. presidents (such as term lengths, ages, or approval ratings) through scatter plots, piecewise linear regression, and boxplots. The core mathematical concepts include descriptive statistics, linear regression, piecewise functions, boxplots, natural numbers, and geometric distributions. Construction details: from the summary, numerous point objects (A1, B1, C1, ..., A14) are defined, likely representing data coordinates for scatter plots; piecewise linear regression is applied to fit trends in different intervals, and boxplot tools display quartiles and outliers. This example is suitable for high school or college statistics courses, helping students understand data modeling, regression analysis, and distribution visualization. It also serves as an interdisciplinary project connecting social science and mathematics.

GeoGebra Commands & Parameters

  1. 1
  2. 94
  3. 2
  4. 48
  5. 3
  6. 96
  7. 4
  8. 96
  9. 5
  10. 96
  11. 6
  12. 48
  13. 7
  14. 96
  15. 8
  16. 48
  17. 9
  18. 1
  19. 10
  20. 47
  21. 11
  22. 48
  23. 12
  24. 16
  25. 13
  26. 32
  27. 14
  28. 48
  29. 15
  30. 48
  31. 16
  32. 49
  33. 17
  34. 47
  35. 18
  36. 96
  37. 19
  38. 48
  39. 20
  40. 7
  41. 21
  42. 41
  43. 22
  44. 48
  45. 23
  46. 48
  47. 24
  48. 48
  49. 25
  50. 54
  51. 26
  52. 90
  53. 27
  54. 48
  55. 28
  56. 96
  57. 29
  58. 29
  59. 30
  60. 67