Correlation Analysis of Height and Free Throw Percentage

Correlation Analysis of Height and Free Throw Percentage
Loading the math board and drawing, please wait…
2012-07-10 21:41
This GeoGebra example demonstrates the correlation between basketball players' height and free throw shooting percentage using scatter plots and function graphs. Key math concepts include Pearson correlation coefficient (PMCC), linear fitting (FitLineY), and statistical visualization. Construction involves commands like FitLineY for line fitting, PMCC for correlation calculation, Textfield for labels, and Polygon, Sequence, Segment, RotateText for geometric elements and data sequences. Suitable for high school or college statistics courses to teach correlation and regression analysis.

GeoGebra Commands & Parameters

  1. FitLineY(PointList1) → LineFit
  2. PMCC(PointList1) → CorCoeff
  3. Textfield(A2) → InA2
  4. Textfield(A3) → InA3
  5. Textfield(A4) → InA4
  6. Textfield(A5) → InA5
  7. Textfield(A6) → InA6
  8. Textfield(A7) → InA7
  9. Textfield(A8) → InA8
  10. Textfield(A9) → InA9
  11. Textfield(A10) → InA10
  12. Textfield(A11) → InA11
  13. Textfield(A12) → InA12
  14. Textfield(A13) → InA13
  15. Textfield(A14) → InA14
  16. Textfield(A15) → InA15
  17. Textfield(A16) → InA16
  18. Textfield(A17) → InA17
  19. Textfield(A18) → InA18
  20. Textfield(A19) → InA19
  21. Textfield(A20) → InA20
  22. Textfield(A21) → InA21
  23. Textfield(B2) → InB2
  24. Textfield(B3) → InB3
  25. Textfield(B4) → InB4
  26. Textfield(B5) → InB5
  27. Textfield(B6) → InB6
  28. Textfield(B7) → InB7
  29. Textfield(B8) → InB8
  30. Textfield(B9) → InB9
  31. Textfield(B10) → InB10
  32. Textfield(B11) → InB11
  33. Textfield(B12) → InB12
  34. Textfield(B13) → InB13
  35. Textfield(B14) → InB14
  36. Textfield(B15) → InB15
  37. Textfield(B16) → InB16
  38. Textfield(B17) → InB17
  39. Textfield(B18) → InB18
  40. Textfield(B19) → InB19
  41. Textfield(B20) → InB20
  42. Textfield(B21) → InB21
  43. Polygon((82, y(Corner[1])), Corner[2], Corner[3], (82, y(Corner[4]))) → poly1, a, b, c, d
  44. Textfield(A22) → InA22
  45. Textfield(A23) → InA23
  46. Textfield(A24) → InA24
  47. Textfield(A25) → InA25
  48. Textfield(A26) → InA26
  49. Textfield(B22) → InB22
  50. Textfield(B23) → InB23
  51. Textfield(B24) → InB24
  52. Textfield(B25) → InB25
  53. Textfield(B26) → InB26
  54. Sequence(Segment[(82.5, 0 + (4 * i)), (94.5, 0 + (4 * i))], i, 0, 13) → Linesh1
  55. Sequence(Segment[(82.5 + (3 * i), 0), (82.5 + (3 * i), 60)], i, 0, 4) → Linesv1
  56. Segment((82.5, 59.9), (94.5, 59.9)) → top1
  57. RotateText("Free throw percentage", 90*°) → SideLegend

AI Drawing Prompt Reference

Create a scatter plot showing the relationship between basketball players' heights and their free throw shooting percentages. Add a linear regression line that best fits the data points, and compute the Pearson correlation coefficient to quantify the strength and direction of the correlation. Display the coefficient value on the graph. Include text labels for each data point indicating its height and corresponding free throw percentage. Finally, draw a polygon region on the right side of the plot to highlight the area of interest, such as a confidence band or annotation zone.
The prompt above was compiled from the original drawing commands and is for reference only.