{"uid":"cap_azEaaigkH4dC6oErbp36v","slug":"survey-participation-weighted-mean-keyed-dataset-comparison-9e907538","name":"Survey Participation Weighted Mean & Keyed Dataset Comparison","description":"Survey participation — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied survey participation records (respondents, invitations). 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-education-10-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","respondents","invitations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"invitations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"course_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","invitations":1,"respondents":10,"course_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","invitations":2,"respondents":20,"course_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","invitations":3,"respondents":15,"course_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","invitations":4,"respondents":30,"course_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["respondents","invitations"],"type":"string","default":"respondents"},"other":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","respondents","invitations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"invitations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"course_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","invitations":1,"respondents":10,"course_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","invitations":2,"respondents":21,"course_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","invitations":3,"respondents":17,"course_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","invitations":4,"respondents":33,"course_group":"group-b"}],"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_ZfbL3I0BU4iPeNB7qj6YZ","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 a secondary-measure weighted mean and performs a keyed dataset comparison on up to 200 survey participation records (respondents/invitations)","exampleAgentPrompt":"I have two sets of survey participation records across course groups — the primary dataset and a comparison dataset, each with respondents and invitations per day. Can you calculate the weighted mean of respondents across both sets and compare the two keyed datasets for me? I'll supply up to 200 rows.","exampleUseCases":[{"title":"Pre/Post Survey Participation Comparison","prompt":"I ran a survey in two phases — here's my pre-intervention and post-intervention participation data with respondents and invitations per course group per day. Can you calculate the weighted mean of respondents for each dataset and compare them side by side so I can see how participation changed?"},{"title":"Cross-Group Weighted Response Rate Analysis","prompt":"I have survey participation data for group-a and group-b across several dates, with respondents and invitations recorded. Please compute the weighted mean of the invitations field and compare it against our benchmark dataset to see where the groups differ."},{"title":"Education Course Survey Audit","prompt":"We collected survey responses for multiple education course groups over October. Here are two datasets — one from our platform and one from a partner — both with respondents and invitations per row. Run a weighted mean on respondents and do a keyed comparison between the two so we can reconcile the numbers."}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean computed over the supplied rows for the selected field (respondents or invitations), and (2) a keyed dataset comparison between the primary and secondary datasets, both generated locally without external lookups. Results include statistical summaries per course group and date.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, course_group, date, respondents, invitations) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Null numeric values where calculation requires non-null — weighted mean may be skipped or partial","Mismatched keys between primary and comparison dataset — keyed comparison returns unmatched row warnings"],"whenToPreferThis":"Use this endpoint when you need both a weighted mean calculation and a keyed dataset comparison on survey participation data (respondents and invitations) in a single call for up to 200 rows. Prefer it over general statistics APIs when your data is structured around course groups and dates with an explicit field selector, and when you want two bundled analytical reports at low cost without any external data lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:40:49.811Z","isFirstParty":false,"canonicalSlug":"survey-participation-weighted-mean-keyed-dataset-comparison-9e907538"}