Correlation Analysis of Basketball Player Height and Free Throw Percentage
Loading the math board and drawing, please wait…
This GeoGebra example demonstrates how to explore the relationship between basketball players' heights and their free throw shooting percentages using a scatter plot and statistical correlation. The core mathematical concepts include the Pearson Product-Moment Correlation Coefficient (PMCC), scatter plots, linear regression, and correlation analysis. To construct the visualization, the example utilizes the `FitLineY` command to fit the line of best fit, `PMCC` to calculate the correlation coefficient, and dynamically integrates `TextField`, `Polygon`, `Sequence`, `Segment`, and `RotateText` commands to render data points, geometric segments, and interactive annotations linked to spreadsheet data. This resource is ideal for high school or introductory college-level statistics and probability courses, specifically within units on correlation and regression analysis.
GeoGebra Commands & Parameters
FitLineY(PointList1) → LineFitPMCC(PointList1) → CorCoeffTextfield(A2) → InA2Textfield(A3) → InA3Textfield(A4) → InA4Textfield(A5) → InA5Textfield(A6) → InA6Textfield(A7) → InA7Textfield(A8) → InA8Textfield(A9) → InA9Textfield(A10) → InA10Textfield(A11) → InA11Textfield(A12) → InA12Textfield(A13) → InA13Textfield(A14) → InA14Textfield(A15) → InA15Textfield(A16) → InA16Textfield(A17) → InA17Textfield(A18) → InA18Textfield(A19) → InA19Textfield(A20) → InA20Textfield(A21) → InA21Textfield(B2) → InB2Textfield(B3) → InB3Textfield(B4) → InB4Textfield(B5) → InB5Textfield(B6) → InB6Textfield(B7) → InB7Textfield(B8) → InB8Textfield(B9) → InB9Textfield(B10) → InB10Textfield(B11) → InB11Textfield(B12) → InB12Textfield(B13) → InB13Textfield(B14) → InB14Textfield(B15) → InB15Textfield(B16) → InB16Textfield(B17) → InB17Textfield(B18) → InB18Textfield(B19) → InB19Textfield(B20) → InB20Textfield(B21) → InB21Polygon((82, y(Corner[1])), Corner[2], Corner[3], (82, y(Corner[4]))) → poly1, a, b, c, dTextfield(A22) → InA22Textfield(A23) → InA23Textfield(A24) → InA24Textfield(A25) → InA25Textfield(A26) → InA26Textfield(B22) → InB22Textfield(B23) → InB23Textfield(B24) → InB24Textfield(B25) → InB25Textfield(B26) → InB26Sequence(Segment[(82.5, 0 + (4 * i)), (94.5, 0 + (4 * i))], i, 0, 13) → Linesh1Sequence(Segment[(82.5 + (3 * i), 0), (82.5 + (3 * i), 60)], i, 0, 4) → Linesv1Segment((82.5, 59.9), (94.5, 59.9)) → top1RotateText("Free throw percentage", 90*°) → SideLegend