{"uid":"cap_Dt4oG_-htSklKBittyJCL","slug":"dataset-storage-analytics-two-measure-correlation-secondary-measure-a816e522","name":"Dataset Storage Analytics — Two-Measure Correlation & Secondary-Measure Weighted Mean","description":"Dataset storage — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied dataset storage records (used_mb, row_count). 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-analytics-18-181?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","used_mb","row_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"used_mb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","used_mb":10,"row_count":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","used_mb":20,"row_count":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","used_mb":15,"row_count":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","used_mb":30,"row_count":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["used_mb","row_count"],"type":"string","default":"used_mb"}}},"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_UqDwrJ-FN309I_WSfORWx","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 used_mb and row_count, plus a weighted mean for a secondary measure, across up to 200 dataset storage records in a single call.","exampleAgentPrompt":"Can you run a correlation analysis between used_mb and row_count for my dataset storage records, and also compute the weighted mean of used_mb? Here are up to 200 rows with row_id, date, dataset_group, used_mb, and row_count fields.","exampleUseCases":[{"title":"Storage growth vs row count correlation","prompt":"I have 150 dataset storage records spanning the last quarter — each has a row_id, date, dataset_group, used_mb, and row_count. Can you calculate the correlation between used_mb and row_count, and also give me the weighted mean of used_mb across all of them?"},{"title":"Per-group storage efficiency check","prompt":"I've got dataset records from two groups, group-a and group-b, with daily used_mb and row_count values. Run the two-measure correlation between used_mb and row_count, and compute a weighted mean for row_count so I can compare efficiency across my groups."},{"title":"Monthly dataset audit statistics","prompt":"For my monthly dataset audit, I need a Pearson correlation between storage used in MB and the number of rows, plus a weighted mean of row_count, for about 80 records from October 2026 — each tagged with a row_id, date, and dataset_group."}],"resultDescription":"Returns two analytical reports: (1) a Pearson correlation coefficient between used_mb and row_count across all supplied rows, and (2) a weighted mean for the secondary measure (field selector determines which measure is primary vs secondary), computed locally without any external lookup or live data fetch.","failureModes":["More than 200 rows supplied — request rejected or truncated","Missing required fields (row_id, date, used_mb, row_count, dataset_group) on any row — validation error","Non-numeric values in used_mb or row_count where numbers are expected — computation error","Date strings not matching YYYY-MM-DD pattern — validation rejection","Empty rows array — no computation possible","Invalid field enum value (not 'used_mb' or 'row_count') — schema error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 dataset storage records with used_mb and row_count fields and need two statistical reports (correlation + weighted mean) in a single low-cost call. Ideal for offline/batch analytical checks on storage data you already hold, where no live lookup, external data enrichment, or prediction is needed. Not suitable for real-time monitoring, forecasting, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:39:14.102Z","isFirstParty":false,"canonicalSlug":"dataset-storage-analytics-two-measure-correlation-secondary-measure-a816e522"}