linear_regression
Performs linear regression to fit a least-squares line to paired data, returning slope, intercept, and R-squared.
Instructions
Fits the least-squares line y = slope*x + intercept and returns slope, intercept, and R-squared
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xValues | Yes | ||
| yValues | Yes |