{"uid":"cap_SVD_-ZOXWjjBMyg9IH4z6","slug":"returns-handling-analytics-two-measure-correlation-secondary-measure-65a60ba9","name":"Returns Handling Analytics — Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Returns handling — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied returns handling records (returned_units, processing_minutes). 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-retail-04-181?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","returned_units","processing_minutes"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"store_group":{"type":"string","default":"","maxLength":80},"returned_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"processing_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","returned_units":10,"processing_minutes":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","returned_units":20,"processing_minutes":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","returned_units":15,"processing_minutes":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","returned_units":30,"processing_minutes":4}],"maxItems":200,"minItems":1},"field":{"enum":["returned_units","processing_minutes"],"type":"string","default":"returned_units"}}},"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_MEaSD-XRy5QHXzTi_mdd1","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 correlation between returned_units and processing_minutes, plus a weighted mean of the secondary measure, for up to 200 rows of returns handling data.","exampleAgentPrompt":"Run a two-measure correlation and weighted mean analysis on my returns handling data — here are 4 rows with returned_units and processing_minutes across store groups group-a and group-b from October 2026 — use returned_units as the primary field.","exampleUseCases":[{"title":"Returns volume vs processing time correlation","prompt":"I have returns data for 150 rows across our store groups — can you compute the correlation between returned_units and processing_minutes, and also give me the weighted mean for returned_units?"},{"title":"Retail ops efficiency analysis","prompt":"Analyze whether stores that get more returns are taking proportionally longer to process them — I'll give you the returned_units and processing_minutes per row, and I want the correlation coefficient plus weighted mean of processing_minutes."},{"title":"Monthly returns stats for finance review","prompt":"Pull the two-measure correlation and weighted mean report on my returns handling records for last month — I have 80 rows with returned_units and processing_minutes by date and store group, primary field is processing_minutes."}],"resultDescription":"Returns two analytical reports: (1) a Pearson or comparable correlation coefficient between returned_units and processing_minutes across the supplied rows, and (2) a weighted mean of the secondary measure. Results are computed locally from the supplied data only, with no external lookups or predictions.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — request rejected","Missing required fields (row_id, date, returned_units, processing_minutes) — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern validation error","Null values in both measures may reduce correlation reliability","Insufficient variance in data may produce undefined or degenerate correlation"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.01 USDC) statistical summary — specifically a two-measure correlation and weighted mean — for retail returns handling records (up to 200 rows) without requiring external data access, predictions, or professional assessments. Ideal for ops teams validating whether return volume correlates with processing time and wanting a weighted average in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:37:45.500Z","isFirstParty":false,"canonicalSlug":"returns-handling-analytics-two-measure-correlation-secondary-measure-65a60ba9"}