Regression explorer
stub
Interactive linear-regression playground. Paste a two-column dataset, see the fitted line, R², residuals, and a scatter plot. Stub — not implemented yet.
Input parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data_csv | string | Yes | Two-column CSV (x,y) — header row optional. Used as the input dataset. |
| fit_intercept | boolean | No | If false, force the regression line through the origin. |
| show_residuals | boolean | No | Render the residuals-vs-fitted plot alongside the main scatter. |
| confidence_level | number | No | Confidence band width drawn around the fitted line. |
Placeholder tool descriptor for an interactive linear-regression visualizer. Pairs with the correlation-vs-causation and (future) simple-linear-regression notes — students can paste a dataset and immediately see what the math from those notes produces.
The study blueprint (week 12) will render this descriptor through study/tool.html, building the input form from the input_schema block above. Implementation lands once the blueprint is wired and the math/plotting library choice is settled (likely scipy + matplotlib server-side, or a client-side d3 component).