{"uid":"cap_MkW1CpvKOHgwZ3PDfV9L_","slug":"replenishment-timing-two-measure-correlation-and-missing-value-fill-4cef6965","name":"Replenishment Timing Two-Measure Correlation and Missing-Value Fill","description":"Replenishment timing — Two-measure correlation + Explicit missing-value fill: Two-measure correlation + Explicit missing-value fill for supplied replenishment timing records (lead_days, received_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-retail-12-184?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","lead_days","received_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"lead_days":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"store_group":{"type":"string","default":"","maxLength":80},"received_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","lead_days":10,"store_group":"group-a","received_units":1},{"date":"2026-10-02","row_id":"row-2","lead_days":20,"store_group":"group-b","received_units":2},{"date":"2026-10-03","row_id":"row-3","lead_days":15,"store_group":"group-a","received_units":3},{"date":"2026-10-04","row_id":"row-4","lead_days":30,"store_group":"group-b","received_units":4}],"maxItems":200,"minItems":1},"field":{"enum":["lead_days","received_units"],"type":"string","default":"lead_days"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_RyydmOYlX8yE4o5t0jDBQ","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 lead_days and received_units, and fills missing values using zero, mean, or median imputation, for up to 200 replenishment timing rows.","exampleAgentPrompt":"I have 150 rows of replenishment timing records with lead_days and received_units — can you run a two-measure correlation on them and fill any missing lead_days values using median imputation?","exampleUseCases":[{"title":"Supply chain lead time correlation","prompt":"I've got replenishment data for two store groups over the past quarter — can you correlate lead_days with received_units across all 120 rows and tell me how strong the relationship is?"},{"title":"Missing inventory data imputation","prompt":"My replenishment dataset has about 30 missing received_units values across 180 rows — can you fill them using mean imputation and give me the corrected dataset?"},{"title":"Multi-store replenishment audit","prompt":"I need two reports on my store replenishment records: a correlation between lead days and received units, and a median fill for any missing lead_days — the dataset has entries for group-a and group-b across 90 rows."}],"resultDescription":"Returns two independent analytical reports: (1) a two-measure correlation report showing the statistical relationship between lead_days and received_units, and (2) an explicit missing-value fill report where null values in the specified field are replaced using zero, mean, or median imputation. Covers up to 200 supplied rows.","failureModes":["More than 200 rows submitted — exceeds maximum row limit","Missing required fields (row_id, date, lead_days, received_units) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Both lead_days and received_units entirely null — correlation cannot be computed","Invalid method enum value (not zero/mean/median) causes schema rejection"],"whenToPreferThis":"Use this endpoint when you need lightweight, offline statistical analysis of replenishment timing data — specifically a Pearson-style two-measure correlation and missing-value imputation — without requiring a live database connection, external prediction model, or professional assessment. Ideal for small-to-medium batches (up to 200 rows) of retail supply chain records where lead time and received quantity data may be incomplete.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T18:32:49.426Z","isFirstParty":false,"canonicalSlug":"replenishment-timing-two-measure-correlation-and-missing-value-fill-4cef6965"}