regression
Analyze how an independent variable predicts a dependent variable for a specific entity. Returns slope, intercept, R-squared, 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 |