Skip to content
Fourohtwo

Linear regression on two lists

saylorinnovations.com/api/stats/regression

Linear regression on two lists - slope, intercept, r, r-squared, standard errors, p-value, 95% slope interval, equation and a prediction for a new x

SolanaAnswering
GEThttps://saylorinnovations.com/api/stats/regression

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/stats/regression?x=1%2C2%2C3%2C4%2C5&y=2%2C4%2C5%2C4%2C5&predict_x=6"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "x": "1,2,3,4,5",
  "y": "2,4,5,4,5",
  "predict_x": "6"
}

More from Saylor Innovations Data DeskProvider status