Skip to main content
Glama

linear_regression

Fit a linear model y = mx + b to data points, calculating slope, intercept, and R² for statistical analysis.

Instructions

Perform linear regression to fit y = mx + b and return slope, intercept, and R² (Domain: statistics, Category: general)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xsYes
ysYes

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-math-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server