Add estimation technique (OLS) to regression tooltip text
@@ -247,7 +247,8 @@ export default class ScatterPlot extends React.Component {
new Set(regression.points.map(JSON.stringify)),
JSON.parse,
).concat(endPoints);
- const helpText = `Predictor variable (X-Axis): ${this.state.nameX}
+ const helpText = `Estimation technique: ordinary least squares (OLS)
+ Predictor variable (X-Axis): ${this.state.nameX}
Response variable (Y-Axis): ${this.state.nameY}
Regression coefficient: ${regression.equation[0]}
Intercept: ${regression.equation[1]}
