{"uid":"cap_LExsYIQW8o4tQphPNaBHh","slug":"market-survey-observations-two-measure-correlation-keyed-dataset-d735bee0","name":"Market Survey Observations — Two-Measure Correlation + Keyed Dataset Comparison","description":"Market survey observations — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison for supplied market survey observations records (respondent_count, sample_weight). 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-company-06-183?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","respondent_count","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondent_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","sample_weight":1,"respondent_count":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","sample_weight":2,"respondent_count":20},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","sample_weight":3,"respondent_count":15},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","sample_weight":4,"respondent_count":30}],"maxItems":200,"minItems":1},"other":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","respondent_count","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondent_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","sample_weight":1,"respondent_count":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","sample_weight":2,"respondent_count":21},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","sample_weight":3,"respondent_count":17},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","sample_weight":4,"respondent_count":33}],"maxItems":200,"minItems":0}}},"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_cA8oCN814MZN8NRFC9AVD","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 two statistical reports on market survey observation data: a Pearson correlation between respondent_count and sample_weight, plus a keyed comparison across two supplied datasets, for up to 200 rows per dataset.","exampleAgentPrompt":"I have two sets of market survey observations — each with respondent_count and sample_weight columns, tagged by company_group and date — can you run a two-measure correlation and a keyed dataset comparison between them? Here's the primary dataset: row-1, group-a, 2026-10-01, 10, 1.0; row-2, group-b, 2026-10-02, 20, 2.0; and the comparison dataset has the same keys but respondent_count of 11 and 21 respectively.","exampleUseCases":[{"title":"Survey panel weighting consistency check","prompt":"I have market survey data from two waves — same respondents, same groups — and I want to know if respondent count correlates with sample weight, and whether the two waves differ when matched by row key. Primary wave has group-a: 50 respondents, weight 1.5 on 2026-01-10, and group-b: 80 respondents, weight 2.0 on 2026-01-10; comparison wave has the same keys but 55 and 78 respondents. Can you run the two-measure correlation and keyed comparison?"},{"title":"Cross-company survey response analysis","prompt":"We ran a market survey across four company groups and I need to see if sample_weight and respondent_count are correlated, plus compare our Q1 and Q2 datasets row by row. Q1 rows: group-a 2026-01-01 count=100 weight=1.2, group-b 2026-01-01 count=150 weight=1.8. Q2 rows: same keys, count=110 and 145, weight=1.3 and 1.7. Run both the correlation report and the keyed dataset comparison."},{"title":"Brand tracking survey audit","prompt":"I'm auditing two batches of brand tracking survey data — one from last month and one from this month — and I need a correlation between respondent_count and sample_weight plus a side-by-side comparison of the two batches matched by row ID. Last month: row-1 group-alpha 2026-09-01 count=200 weight=3.5, row-2 group-beta 2026-09-01 count=180 weight=3.0. This month: same row IDs, count=210 and 175, weight=3.6 and 2.9."}],"resultDescription":"Returns two analytical reports: (1) a two-measure correlation report showing the statistical relationship between respondent_count and sample_weight across the supplied rows, and (2) a keyed dataset comparison report matching records from the primary and secondary datasets by row_id and highlighting differences in the measured values. All computation is performed locally on the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, company_group, date, respondent_count, sample_weight) — validation error","Date field not matching YYYY-MM-DD pattern — schema validation failure","All numeric values null — correlation report cannot be computed","Mismatched row_ids between datasets — keyed comparison may yield empty matches","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have structured market survey data with respondent_count and sample_weight fields and need both a correlation analysis between those two measures AND a keyed record-level comparison between two datasets in a single API call. It is ideal for survey analysts who want to audit panel weighting, compare survey waves, or validate consistency across company groups without building a local analytics pipeline. It is not suitable for live data fetching, prediction, forecasting, or any external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:51:12.517Z","isFirstParty":false,"canonicalSlug":"market-survey-observations-two-measure-correlation-keyed-dataset-d735bee0"}