{"uid":"cap_E3d005HVBv5y2EfqUQzzy","slug":"margin-of-safety-benchmark-correlation-calculator-c55a0904","name":"Margin of Safety - Benchmark Correlation Calculator","description":"Margin of safety - Benchmark correlation: Calculate Pearson correlation against aligned supplied benchmarks; no causal or predictive claim. Metric: Margin of safety. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded benchmark correlation report.","url":"https://market.datapackvibe.com/x402/assistant-finance-margin-safety-correlation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["actual_sales","break_even_sales"],"properties":{"actual_sales":{"type":"number","default":10000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"break_even_sales":{"type":"number","default":7000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"actual_sales":10000,"break_even_sales":7000},{"actual_sales":11000,"break_even_sales":7700.000000000001},{"actual_sales":10000,"break_even_sales":7000},{"actual_sales":11000,"break_even_sales":7700.000000000001}],"maxItems":200,"minItems":2},"benchmarks":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000000000,"minimum":-1000000000000000000},"default":[10,20,30,40],"maxItems":200,"minItems":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mll7O6m2JzQeezumJ57L4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the Pearson correlation between margin-of-safety values (derived from actual vs. break-even sales rows) and user-supplied benchmark series, returning a descriptive statistical report with formula, units, and limitations.","exampleAgentPrompt":"Can you calculate the Pearson correlation between my margin of safety figures and a benchmark series? My actual sales were [10000, 11000, 12000, 10500] and break-even sales were [7000, 7700, 8400, 7350], and my benchmark values are [10, 20, 30, 40].","exampleUseCases":[{"title":"Retail chain safety margin vs industry index","prompt":"I have quarterly actual sales of 500000, 520000, 510000, 530000 and break-even sales of 350000, 360000, 355000, 365000 — can you run a Pearson correlation of my margin of safety against these benchmark values: 100, 105, 103, 108?"},{"title":"SaaS business benchmarking safety cushion","prompt":"For my SaaS company, actual monthly recurring revenue was 80000, 85000, 90000, 88000 and break-even MRR was 60000, 63000, 67000, 65000. Please correlate the margin of safety series against the industry benchmark figures 15, 18, 22, 20 and give me the Pearson coefficient with limitations."},{"title":"Multi-period manufacturing margin analysis","prompt":"Can you check how correlated our manufacturing margin of safety is with our internal benchmark over 5 periods? Actual sales: 200000, 210000, 195000, 220000, 215000; break-even sales: 150000, 157000, 148000, 162000, 160000; benchmarks: 5, 8, 4, 10, 9."}],"resultDescription":"A JSON object containing the Pearson correlation coefficient between the computed margin-of-safety series and the supplied benchmark array, along with the formula used, units, and a clear statement of statistical limitations (descriptive only, no causal or predictive claims).","failureModes":["Mismatched array lengths between rows and benchmarks returns an error","Fewer than 2 rows or benchmark values triggers a minimum-items validation error","Actual sales of zero or negative values are rejected by exclusiveMinimum constraint","Extremely large values near the maximum boundary may cause floating-point precision issues","Non-numeric or missing required fields (actual_sales, break_even_sales) cause schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need a quick, bounded Pearson correlation between a margin-of-safety time series (derived from actual vs. break-even sales) and an externally supplied benchmark series. It is ideal for descriptive statistical alignment checks — not for forecasting or causal inference. Prefer it over general-purpose statistics APIs when you need the margin-of-safety metric specifically computed inline with the correlation, and when a flat $0.01 USDC per-call cost model is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T19:03:20.681Z","isFirstParty":false,"canonicalSlug":"margin-of-safety-benchmark-correlation-calculator-c55a0904"}