Regression Analysis Demo

Regression Analysis Demo
Loading the math board and drawing, please wait…
2018-07-07 22:07
This example demonstrates data regression analysis by plotting a scatter graph and fitting a best-fit curve, involving core math concepts like Pearson's PMCC, linear regression equations, parametric curves, random variables, and percentage calculations. Key GeoGebra commands and objects used include Random, If, PMCC, and FitPoly as outlined in the construction summary. Suitable for high school and above learners to understand the application of regression analysis in statistics and calculus.

GeoGebra Commands & Parameters

  1. Random(0, 20) → b_1, 12
  2. If(scatter ≟ 0, 10.5, 1 / ((5 * scatter))) → deviation
  3. If(scatter > 0, Random[0, 3], scatter < 0, Random[22, 25], scatter ≟ 0, Random[5, 15]) → intercept
  4. Random(0, 20) → a, 10
  5. Random(0, 20) → a_1, 17
  6. Random(0, 20) → w, 6
  7. Random(0, 20) → v, 1
  8. Random(0, 20) → u, 4
  9. Random(0, 20) → t, 16
  10. Random(0, 20) → s, 19
  11. Random(0, 20) → r, 14
  12. Random(0, 20) → q, 0
  13. Random(0, 20) → p, 5
  14. Random(0, 20) → o, 4
  15. Random(0, 20) → n, 0
  16. Random(0, 20) → m, 19
  17. Random(0, 20) → l, 17
  18. Random(0, 20) → k, 11
  19. Random(0, 20) → j, 13
  20. Random(0, 20) → i, 5
  21. Random(0, 20) → h, 20
  22. Random(0, 20) → g, 8
  23. Random(0, 20) → f, 19
  24. Random(0, 20) → e, 14
  25. Random(0, 20) → d, 14
  26. Random(0, 20) → c, 1
  27. Random(0, 20) → b, 7
  28. PMCC(list) → correlation
  29. FitPoly(list, 1) → g_1