{
  "x402Version": 2,
  "id": 32932,
  "slug": "32932",
  "resource": "https://hubvibe-io.com/work/stats/probability",
  "description": "Predictive probability and regression engine: least-squares linear regression with standard errors, confidence and prediction intervals, a fitted normal distribution with quantiles and probability queries (P(y > t)), exact Student t and Jarque-Bera p-values. Points inline or from a BigQuery table. Deterministic arithmetic, no LLM: the same input always returns the same numbers. Input: points or table with x_column, y_column; optional metrics, predict_x, probability_queries.",
  "type": "http",
  "serviceName": "HubVibe",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x837C40E2B4e976f43Ffb4451eE281A00fA9477dd",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "500000",
      "amountUsd": 0.5,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "J1K4mdbvXEbJLRKpgxFcA7s66LWMCYHu71ye6Hz2icSh",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "500000",
      "amountUsd": 0.5,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "points": [
              [
                1,
                2.1
              ],
              [
                2,
                3.9
              ],
              [
                3,
                6.2
              ],
              [
                4,
                7.8
              ],
              [
                5,
                10.1
              ]
            ],
            "predict_x": [
              6
            ],
            "probability_queries": [
              {
                "below": 8
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "oneOf": [
                  {
                    "required": [
                      "points"
                    ]
                  },
                  {
                    "required": [
                      "table",
                      "x_column",
                      "y_column"
                    ]
                  }
                ],
                "properties": {
                  "alpha": {
                    "exclusiveMaximum": 1,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  "distribution_of": {
                    "enum": [
                      "y",
                      "x",
                      "residuals"
                    ],
                    "type": "string"
                  },
                  "language": {
                    "maxLength": 35,
                    "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
                    "type": "string"
                  },
                  "max_rows": {
                    "maximum": 100000,
                    "minimum": 3,
                    "type": "integer"
                  },
                  "metrics": {
                    "items": {
                      "enum": [
                        "linear_regression",
                        "normal_distribution",
                        "p_values",
                        "prediction"
                      ],
                      "type": "string"
                    },
                    "minItems": 1,
                    "type": "array",
                    "uniqueItems": true
                  },
                  "points": {
                    "items": {
                      "oneOf": [
                        {
                          "items": {
                            "type": "number"
                          },
                          "maxItems": 2,
                          "minItems": 2,
                          "type": "array"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "x": {
                              "type": "number"
                            },
                            "y": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "x",
                            "y"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "maxItems": 100000,
                    "minItems": 2,
                    "type": "array"
                  },
                  "predict_x": {
                    "items": {
                      "type": "number"
                    },
                    "maxItems": 100,
                    "minItems": 1,
                    "type": "array"
                  },
                  "probability_queries": {
                    "items": {
                      "additionalProperties": false,
                      "maxProperties": 1,
                      "minProperties": 1,
                      "properties": {
                        "above": {
                          "type": "number"
                        },
                        "below": {
                          "type": "number"
                        },
                        "between": {
                          "items": {
                            "type": "number"
                          },
                          "maxItems": 2,
                          "minItems": 2,
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 50,
                    "type": "array"
                  },
                  "table": {
                    "type": "string"
                  },
                  "x_column": {
                    "type": "string"
                  },
                  "y_column": {
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "statistics",
    "regression",
    "probability",
    "prediction",
    "confidence-interval",
    "bazaar"
  ],
  "sourceHost": "hubvibe-io.com",
  "lastUpdated": "2026-10-01T04:00:54.367Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T04:00:54.207Z"
  },
  "metadata": {
    "serviceName": "HubVibe",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "points": [
                [
                  1,
                  2.1
                ],
                [
                  2,
                  3.9
                ],
                [
                  3,
                  6.2
                ],
                [
                  4,
                  7.8
                ],
                [
                  5,
                  10.1
                ]
              ],
              "predict_x": [
                6
              ],
              "probability_queries": [
                {
                  "below": 8
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "oneOf": [
                    {
                      "required": [
                        "points"
                      ]
                    },
                    {
                      "required": [
                        "table",
                        "x_column",
                        "y_column"
                      ]
                    }
                  ],
                  "properties": {
                    "alpha": {
                      "exclusiveMaximum": 1,
                      "exclusiveMinimum": 0,
                      "type": "number"
                    },
                    "distribution_of": {
                      "enum": [
                        "y",
                        "x",
                        "residuals"
                      ],
                      "type": "string"
                    },
                    "language": {
                      "maxLength": 35,
                      "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
                      "type": "string"
                    },
                    "max_rows": {
                      "maximum": 100000,
                      "minimum": 3,
                      "type": "integer"
                    },
                    "metrics": {
                      "items": {
                        "enum": [
                          "linear_regression",
                          "normal_distribution",
                          "p_values",
                          "prediction"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "points": {
                      "items": {
                        "oneOf": [
                          {
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 2,
                            "minItems": 2,
                            "type": "array"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "x": {
                                "type": "number"
                              },
                              "y": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "x",
                              "y"
                            ],
                            "type": "object"
                          }
                        ]
                      },
                      "maxItems": 100000,
                      "minItems": 2,
                      "type": "array"
                    },
                    "predict_x": {
                      "items": {
                        "type": "number"
                      },
                      "maxItems": 100,
                      "minItems": 1,
                      "type": "array"
                    },
                    "probability_queries": {
                      "items": {
                        "additionalProperties": false,
                        "maxProperties": 1,
                        "minProperties": 1,
                        "properties": {
                          "above": {
                            "type": "number"
                          },
                          "below": {
                            "type": "number"
                          },
                          "between": {
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 2,
                            "minItems": 2,
                            "type": "array"
                          }
                        },
                        "type": "object"
                      },
                      "maxItems": 50,
                      "type": "array"
                    },
                    "table": {
                      "type": "string"
                    },
                    "x_column": {
                      "type": "string"
                    },
                    "y_column": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "hubvibe-io.com",
    "manifest_name": "hubvibe-io.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}