{"uid":"cap_OGhVEZcXSGACP6N7uUYqv","slug":"water-service-coverage-analytics-equal-width-histogram-two-measure-0916f5da","name":"Water Service Coverage Analytics — Equal-Width Histogram & Two-Measure Correlation","description":"Water service coverage — Equal-width histogram + Two-measure correlation: Equal-width histogram + Two-measure correlation for supplied water service coverage records (served_households, total_households). 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-economics-19-171?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","served_households","total_households"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_households":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"served_households":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","total_households":1,"served_households":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","total_households":2,"served_households":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","total_households":3,"served_households":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","total_households":4,"served_households":30}],"maxItems":200,"minItems":1},"field":{"enum":["served_households","total_households"],"type":"string","default":"served_households"}}},"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_9NpuU3880-2BO57wN_lcY","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":"Runs an equal-width histogram and a two-measure correlation analysis on supplied water service coverage data (served_households vs. total_households) for up to 200 rows, returning two statistical reports.","exampleAgentPrompt":"I have water service coverage records for 150 regions with served_households and total_households values — can you run an equal-width histogram (10 bins) on the served_households field and also compute the correlation between the two household measures?","exampleUseCases":[{"title":"Regional water equity distribution check","prompt":"I have data for 120 water districts with served_households and total_households per region — run a histogram with 8 bins on the served_households field so I can see how coverage is distributed across districts."},{"title":"Correlation analysis for infrastructure planning","prompt":"Can you compute the correlation between served_households and total_households using my 200-row water service dataset? I want to understand how closely total household count predicts the number being served."},{"title":"Monthly coverage trend statistical summary","prompt":"I've got 90 rows of monthly water service records tagged by region and date — run both a 5-bin equal-width histogram on total_households and the two-measure correlation between served and total households so I can spot any anomalies."}],"resultDescription":"Returns two independent analytical reports: (1) an equal-width histogram showing frequency distribution of the selected field (served_households or total_households) across the specified number of bins, and (2) a correlation report measuring the linear relationship between the served_households and total_households measures across all supplied rows.","failureModes":["More than 200 rows submitted — request exceeds maxItems limit","Missing required fields (row_id, region, date, served_households, or total_households) — validation error","Date field does not match YYYY-MM-DD pattern — schema validation failure","bins parameter outside 1–30 range — rejected with validation error","All values null for selected field — histogram cannot be computed","Identical constant values in both measures — correlation is undefined or returns NaN"],"whenToPreferThis":"Choose this endpoint when you have tabular water service coverage data and need quick, local statistical analysis — specifically a distribution histogram and a two-measure correlation — without requiring external data lookup, live feeds, or prediction. It is ideal for batch offline analysis of up to 200 household coverage records at very low cost ($0.01 USDC for both reports together).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T00:40:51.376Z","isFirstParty":false,"canonicalSlug":"water-service-coverage-analytics-equal-width-histogram-two-measure-0916f5da"}