util_regression
Linear regression (OLS, up to 10 predictors) with diagnostics — Ordinary least squares. y= comma-separated outcome values (required, up to 5000); x= one predictor as a comma list or several predictors separated by ; (each same length as y, max 10). Optional names= (comma names for predictors), predict= (one value per predictor) for a point prediction with 95% confidence and prediction intervals, intercept=false. Returns equation, coefficients with SE/t/p/95% CI, R-squared, adjusted R-squared, F test, residual SE, AIC, Durbin-Watson, VIF multicollinearity, outliers by studentized residual, and notes. Offline. Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"y": "<y>",
"x": "<x>"
},
"name": "util_regression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | 1,2,3,4,5,6,7,8,9,10;3,1,4,1,5,9,2,6,5,3 | |
| y | Yes | 5,7,9,8,12,14,13,17,18,21 |