← Back to directory

Odds ratio, relative risk, risk difference and number needed to treat from a 2x2...

https://stats-tests.x402tookit.com/effect-size-2x2

Overview

Odds ratio, relative risk, risk difference and number needed to treat from a 2x2 table, each with a confidence interval.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Statistical Tests
Source bazaar
Indexed 2026-10-20 21:22:34

Health

Status healthy
Latency (p50) 646ms
Uptime (30d) 81.3%
Reliability Score 80.6/100
Last Checked 2026-10-28 06:44:37
Last Healthy 2026-10-28 06:44:37
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "exposedEvents": 20, "exposedNoEvents": 80, "unexposedEvents": 10, "unexposedNoEvents": 90 }, "type": "http" }

Output Schema

{ "example": { "asOf": "2026-10-11T08:55:55.525Z", "confidence": 0.95, "correctionApplied": false, "degraded": false, "direction": "NNH (harm) if the event is bad", "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.", "notChecked": [ "confounding and bias: these measure association in these data, not cause", "study design (case-control studies cannot estimate relative risk directly)", "…1 more" ], "numberNeededToTreat": 10, "oddsRatio": 2.25, "oddsRatioCI": { "lower": 0.994295, "upper": 5.09155 }, "reasons": [ "The interval includes 1: the data are consistent with no association.", "When the outcome is common (over about 10%) the odds ratio overstates the relative risk.", "…1 more" ], "relativeRisk": 2, "relativeRiskCI": { "lower": 0.986563, "upper": 4.05448 }, "riskDifference": 0.1, "riskDifferenceCI": { "lower": 0.0020018008, "upper": 0.1979982 }, "riskExposed": 0.2, "riskUnexposed": 0.1, "source": "computed locally", "summary": "Risk 20% vs 10%: odds ratio 2.25 (95% CI 0.994295 to 5.09155), relative risk 2 (0.986563 to 4.05448), risk difference 10 points, NNT 10.", "verdict": "INTERVAL_INCLUDES_NO_EFFECT" }, "type": "json" }