{"uid":"cap_39xatlirCuiaQeXeE3Ric","slug":"numora-t-test-statistical-comparison-api-0367a8eb","name":"Numora T-Test Statistical Comparison API","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numomo.vercel.app/api/statistics/ttest","method":"POST","headers":{},"bodySchema":{"type":"object","required":["sample1","sample2"],"properties":{"sample1":{"type":"array"},"sample2":{"type":"array"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N0viWYrvs6PxuLs5IFk1d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a two-sample t-test to determine whether two data sets have statistically different means","exampleAgentPrompt":"Can you run a two-sample t-test on these two groups of measurements — group A is [23.1, 25.4, 22.8, 24.6, 26.0] and group B is [19.3, 20.7, 21.1, 18.9, 20.5] — and tell me if the difference is statistically significant?","exampleUseCases":[{"title":"A/B test conversion rate analysis","prompt":"I ran an experiment where control group session times were [120, 135, 118, 142, 130] seconds and the treatment group was [145, 160, 138, 155, 162] seconds. Can you do a t-test to tell me if the new feature actually made a statistically significant difference?"},{"title":"Clinical trial outcome comparison","prompt":"I have pain scores for patients on Drug A — [3.2, 4.1, 3.8, 2.9, 3.5] — and Drug B — [5.6, 6.1, 5.4, 5.9, 6.3]. Run a t-test and tell me if there's a real difference between the two treatments."},{"title":"Quality control batch testing","prompt":"Our first manufacturing batch had defect counts of [2, 3, 1, 4, 2, 3] and the second batch after process changes had [1, 1, 2, 0, 1, 2]. Can you t-test these to see if the process change made a statistically meaningful improvement?"}],"resultDescription":"Returns a JSON object with a success flag, a human-readable computation description, and a result object containing the t-statistic, p-value, degrees of freedom, and typically a conclusion about whether the means are significantly different at standard confidence levels.","failureModes":["Empty sample arrays cause computation errors","Non-numeric values in arrays return validation errors","Arrays with only one element may cause degrees-of-freedom issues","Mismatched extremely large arrays may time out","Payment failure (402) if x402 micropayment not properly set up"],"whenToPreferThis":"Choose this endpoint when you need a serverless, dependency-free two-sample t-test with micropayment billing per call — ideal for AI agents that need on-demand statistical significance testing without managing a Python/R runtime, spinning up a data science environment, or paying for a heavy analytics platform subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:52:05.225Z","isFirstParty":false}