Executing template

Regression forecast & risk

Fit a linear regression and predict a point, weigh a set of outcomes by probability, then read the normal-curve odds around the prediction.

research 3 steps 3 live tools

The chain

  1. Fit the line and predict → regression
  2. Probability-weighted expected value → expected-value
  3. Normal-curve odds at the predicted Y → normal-prob

Run it

Fill the inputs and press Run — every step executes live and the JSON chain (each step's tool, args and result) appears here.

Or call it as an agent

curl -s https://wingmanprotocol.com/agents/templates/regression-forecast/run \
  -H 'Content-Type: application/json' \
  -d '{"x": [1, 2, 3, 4, 5], "y": [12, 19, 27, 34, 42], "predict_x": 6, "outcomes": [40, 48, 55], "probabilities": [0.25, 0.5, 0.25], "mean": 48, "std_dev": 6}'