{"uid":"cap_OsBfrfmPVL8KsveNkDLSa","slug":"signaldesk-ai-sample-variance-calculator-ecf4f21f","name":"SignalDesk AI – Sample Variance Calculator","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/stats/sample-variance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},"maxItems":1000,"minItems":2,"description":"At least two observations."}}},"responseSchema":{"type":"json","example":{"variance":1,"denominator":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U2BCYaZFD_TSTsL88w-xl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the sample variance of a provided array of numeric observations","exampleAgentPrompt":"Calculate the sample variance for these numbers: 4, 7, 13, 2, 1, 9, 15, 6.","exampleUseCases":[{"title":"Quality control variation analysis","prompt":"I have measurements from our production line — 102.3, 98.7, 101.1, 99.5, 103.2, 100.0 — can you compute the sample variance to see how consistent they are?"},{"title":"Student grade spread analysis","prompt":"Here are the exam scores for my class: 72, 85, 90, 61, 78, 88, 95, 70, 83, 66. What is the sample variance of these grades?"},{"title":"Financial return volatility check","prompt":"Can you calculate the sample variance of these monthly returns: 2.1, -0.5, 3.3, 1.8, -1.2, 4.0, 0.7, 2.9 so I can gauge how volatile this portfolio has been?"}],"resultDescription":"Returns a JSON object containing the computed sample variance (using n-1 denominator for unbiased estimation) and the denominator value used in the calculation.","failureModes":["Fewer than 2 values provided — minimum 2 observations required","Array exceeds 1000 items — maxItems limit enforced","Individual values exceed ±1e15 magnitude — boundary enforced","Invalid input types (non-numbers in array) — schema validation error","Payment failure (x402) — 402 response if USDC payment not attached"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid, serverless sample variance computation without running your own statistical library — especially useful in agent pipelines where deterministic statistical outputs are needed on-demand with micro-payment billing via x402 and no infrastructure setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:05.056Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-sample-variance-calculator-ecf4f21f"}