linear_regression_analysis
Perform simple linear regression to model the relationship between independent and dependent variables, returning coefficients and fit statistics.
Instructions
Perform simple linear regression analysis.
Args: x_data: Independent variable data y_data: Dependent variable data
Returns: Dictionary with regression results
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": {
"x_data": "<x_data>",
"y_data": "<y_data>"
},
"name": "linear_regression_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_data | Yes | ||
| y_data | Yes |