regression
Run linear regression on verified public datasets to analyze how one variable predicts another, returning slope, intercept, R², and interpretation.
Instructions
Linear regression of y ~ x for one entity. Returns slope, intercept, R² and interpretation. Use for "how does X predict Y?" questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| y | Yes | Dependent variable (target) indicator ID | |
| x | Yes | Independent variable (predictor) indicator ID | |
| time | No |