stats_2var
Perform paired (x,y) statistical analysis and regression. Fit models like linear, quadratic, exponential, and more, then predict x or y values from data.
Instructions
When: paired (x,y) stats and regression — not single-list stats_1var. Params: x,y equal length; model=linear|quadratic|logarithmic|exp|abexp|power|inverse| cubic|quartic|logistic|medmed (default linear); optional freq, predict_y_at, predict_x_at. Example: x=[1,2,3], y=[2,4,6], model="linear".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| freq | No | ||
| model | No | linear | |
| predict_x_at | No | ||
| predict_y_at | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |