{"uid":"cap_6yc62y3Ln-jkIrG1d_GH-","slug":"procurement-research-two-measure-correlation-secondary-measure-feb5a202","name":"Procurement Research — Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Procurement research — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied procurement research records (quoted_amount, quoted_units). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-company-11-181?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","quoted_amount","quoted_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"quoted_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"quoted_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","quoted_units":1,"company_group":"group-a","quoted_amount":10},{"date":"2026-10-02","row_id":"row-2","quoted_units":2,"company_group":"group-b","quoted_amount":20},{"date":"2026-10-03","row_id":"row-3","quoted_units":3,"company_group":"group-a","quoted_amount":15},{"date":"2026-10-04","row_id":"row-4","quoted_units":4,"company_group":"group-b","quoted_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["quoted_amount","quoted_units"],"type":"string","default":"quoted_amount"}}},"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_jrMuFyaigdRRE9d2mMS3Z","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":"Computes Pearson/rank correlation between quoted_amount and quoted_units, plus a weighted mean of the secondary measure, for up to 200 procurement research rows in two bundled analytical reports.","exampleAgentPrompt":"Can you run a two-measure correlation between quoted_amount and quoted_units, plus a weighted mean of quoted_units, on these 150 procurement quote rows I have? I want both reports in one call.","exampleUseCases":[{"title":"Supplier quote volume-price analysis","prompt":"I have 120 rows of supplier quote data with quoted_amount and quoted_units — can you check whether the price quotes are correlated with the unit quantities, and also give me the weighted mean of quoted_units weighted by quoted_amount?"},{"title":"Procurement batch statistics for cost review","prompt":"We're doing a cost review and I need two stats on our 85 procurement records: the correlation between quoted amounts and units quoted, and the weighted average of the secondary measure. Can you compute both at once?"},{"title":"Category-grouped procurement data correlation","prompt":"I've got procurement records across group-a and group-b vendors from Q4 — run the two-measure correlation between quoted_amount and quoted_units plus the secondary-measure weighted mean so I can compare pricing patterns."}],"resultDescription":"Returns two analytical reports computed locally on the supplied rows: (1) a two-measure correlation statistic between quoted_amount and quoted_units, and (2) a weighted mean of the secondary measure (the non-selected field). No external data is fetched; results are derived purely from the submitted rows.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — rejected with maxItems error","Row missing required fields (row_id, company_group, date, quoted_amount, quoted_units) — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern validation error","Numeric values outside ±1,000,000,000,000 range — schema rejection","All values null for a measure — correlation or weighted mean may be undefined/NaN","Insufficient variance in data — correlation result may be 0 or undefined"],"whenToPreferThis":"Choose this endpoint when you need both a correlation between quoted_amount and quoted_units AND a weighted mean of the secondary measure in a single paid call for procurement data specifically. It bundles two statistical reports for the price of one, making it efficient for procurement analytics workflows. Prefer it over general statistics APIs when your data matches the procurement research schema (row_id, company_group, date, quoted_amount, quoted_units) and you want offline, deterministic computation without any live lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:35.004Z","isFirstParty":false,"canonicalSlug":"procurement-research-two-measure-correlation-secondary-measure-feb5a202"}