{"uid":"cap_hlCGGGdPhLLlJoWK-5g4K","slug":"document-approvals-two-measure-correlation-and-missing-value-fill-a8862c5c","name":"Document Approvals Two-Measure Correlation and Missing-Value Fill","description":"Document approvals — Two-measure correlation + Explicit missing-value fill: Two-measure correlation + Explicit missing-value fill for supplied document approvals records (submitted_documents, approved_documents). 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-operations-17-184?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","submitted_documents","approved_documents"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"approved_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"submitted_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","approved_documents":1,"submitted_documents":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","approved_documents":2,"submitted_documents":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","approved_documents":3,"submitted_documents":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","approved_documents":4,"submitted_documents":30}],"maxItems":200,"minItems":1},"field":{"enum":["submitted_documents","approved_documents"],"type":"string","default":"submitted_documents"},"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_JBuUSXLg75__XrECrHb-A","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 submitted_documents and approved_documents, and fills missing values using zero, mean, or median imputation — delivering two statistical reports for up to 200 document approval records.","exampleAgentPrompt":"I have up to 200 rows of document approval data with submitted_documents and approved_documents counts per team group — can you run a two-measure correlation between those fields and fill any missing approved_documents values using median imputation?","exampleUseCases":[{"title":"Approval rate correlation across teams","prompt":"I've got daily records for 4 team groups showing how many documents were submitted and how many got approved — can you calculate the correlation between submitted_documents and approved_documents and also fill any missing submitted_documents values using the mean?"},{"title":"Missing data cleanup for approval dashboard","prompt":"Our document approval tracker has some null values in the approved_documents column — can you fill those blanks using median imputation and also give me the correlation between submitted and approved counts across all rows?"},{"title":"Statistical QA on document pipeline data","prompt":"I need two reports on this batch of 150 document approval records: first, compute the correlation between submitted_documents and approved_documents; second, fill any missing approved_documents values with zero so the dataset is complete."}],"resultDescription":"Returns two independent analytical reports: (1) a Pearson or equivalent two-measure correlation result between submitted_documents and approved_documents across the supplied rows, and (2) a dataset with missing values in the specified field filled using the chosen method (zero, mean, or median). Results are computed locally with no external lookups.","failureModes":["Fewer than 1 row provided — minimum item count not met","More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, date, submitted_documents, approved_documents) on any row","Invalid date format not matching YYYY-MM-DD pattern","Invalid enum value for method or field parameters","Payment not completed — x402 payment required before response","All values null in target field — imputation has no non-null reference for mean/median"],"whenToPreferThis":"Choose this endpoint when you have tabular document approval data (submitted vs approved counts per team/date) and need both a correlation analysis and missing-value imputation in a single call for up to 200 rows. It is especially useful when you want two distinct analytical outputs from shared input data without building your own statistical pipeline. Not suitable for live document system queries, approval predictions, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:38:26.076Z","isFirstParty":false,"canonicalSlug":"document-approvals-two-measure-correlation-and-missing-value-fill-a8862c5c"}