使用相关系数分析数据关系示例

使用相关系数分析数据关系示例
几何画板及绘图内容加载中,请稍等……
2012-06-02 00:02
所属专题 AP Statistics
本范例演示如何利用相关系数来描述数据之间的相关性强度。核心数学概念包括线性回归与数据分布分析。作图要点涉及使用GeoGebra命令如FitLineY、PMCC等来构建数据关系图形。适合高中生或大学低年级学生用于学习统计分析基础。

GeoGebra 命令及参数

  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. Sequence(Segment[(22, 0 + 7 * i), (30, 0 + 7 * i)], i, 0, 10) → Linesh1
  44. Sequence(Segment[(32, 0 + 7 * i), (40, 0 + 7 * i)], i, 0, 10) → Linesh2
  45. Sequence(Segment[(22 + 4 * i, 0), (22 + 4 * i, 84)], i, 0, 2) → Linesv1
  46. Sequence(Segment[(32 + 4 * i, 0), (32 + 4 * i, 84)], i, 0, 2) → Linesv2
  47. Segment((22, 84), (30, 84)) → top1
  48. Segment((32, 84), (40, 84)) → top2
  49. If(LineVisible, "Hide Best Fit Line", "Show Best Fit Line") → LineButton
  50. Polygon((21, y(Corner[1])), Corner[2], Corner[3], (21, y(Corner[4]))) → poly1, a, b, c, d
  51. RotateText("Test Score", 90*°) → SideLegend
  52. RotateText("Books read", 0) → BottomLegend
  53. If(CorVisible, "Hide Correlation Coefficient", "Show Correlation Coefficient") → CorButton

AI 绘图提示语参考

画一个数据关系图,展示如何用相关系数描述数据强度,包含线性回归线和数据分布分析。先画出两组数据点,用一条线拟合这些点来表示线性回归,并标注相关系数。再添加水平和垂直辅助线,将图表区域划分为四个部分,最后连接顶部边界。
以上提示语为根据原始绘图命令整理而来,仅供参考。