분석 결과
- regression: {'dependent': 'x', 'independent': 'y', 'slope': 0.5013787315669583, 'intercept': -0.018007433161491004, 'rSquared': 0.998459931149057, 'pValue': 8.898865148012611e-07, 'stdError': 0.009845565360340066, 'n': 6}
- chartData: {'type': 'scatter', 'datasets': [{'label': '관측값', 'data': [{'x': 2.1, 'y': 1.0}, {'x': 4.0, 'y': 2.0}, {'x': 5.9, 'y': 3.0}, {'x': 8.2, 'y': 4.0}, {'x': 9.8, 'y': 5.0}, {'x': 12.1, 'y': 6.0}], 'backgroundColor': 'rgba(37, 99, 235, 0.5)'}, {'label': '회귀선', 'type': 'line', 'data': [{'x': 2.1, 'y': 1.0348879031291216}, {'x': 12.1, 'y': 6.048675218798705}], 'borderColor': 'rgba(239, 68, 68, 1)', 'backgroundColor': 'transparent', 'borderWidth': 2, 'pointRadius': 0}]}