{"uid":"cap_b6wPgNMbFZBnSIRaunbuG","slug":"study-recruitment-secondary-measure-weighted-mean-explicit-missing-7eeb4e28","name":"Study Recruitment — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Study recruitment — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied study recruitment records (eligible_candidates, enrolled_candidates). 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-09-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","eligible_candidates","enrolled_candidates"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"course_group":{"type":"string","default":"","maxLength":80},"eligible_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"enrolled_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","course_group":"group-a","eligible_candidates":10,"enrolled_candidates":1},{"date":"2026-10-02","row_id":"row-2","course_group":"group-b","eligible_candidates":20,"enrolled_candidates":2},{"date":"2026-10-03","row_id":"row-3","course_group":"group-a","eligible_candidates":15,"enrolled_candidates":3},{"date":"2026-10-04","row_id":"row-4","course_group":"group-b","eligible_candidates":30,"enrolled_candidates":4}],"maxItems":200,"minItems":1},"field":{"enum":["eligible_candidates","enrolled_candidates"],"type":"string","default":"eligible_candidates"},"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_hBXeYYqY3cbsoR9okgKRh","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 fills missing values explicitly for up to 200 study recruitment records covering eligible and enrolled candidates.","exampleAgentPrompt":"I have 4 study recruitment records across group-a and group-b from October 2026 — can you compute the weighted mean for eligible_candidates and fill any missing values using median imputation? The rows are: row-1 group-a 2026-10-01 eligible=10 enrolled=1, row-2 group-b 2026-10-02 eligible=20 enrolled=2, row-3 group-a 2026-10-03 eligible=15 enrolled=3, row-4 group-b 2026-10-04 eligible=30 enrolled=4.","exampleUseCases":[{"title":"Clinical trial enrollment weighted summary","prompt":"I have recruitment data from our Phase 2 trial — 150 rows across 5 study sites with dates, eligible candidates, and enrolled candidates per day. Can you compute the weighted mean for enrolled_candidates and fill any nulls using mean imputation, then give me the two analytical reports?"},{"title":"Missing value imputation for education cohort","prompt":"Our education study has some missing eligible_candidates values across 80 recruitment records. Can you fill those gaps using zero fill and also compute the weighted mean for eligible_candidates across all course groups?"},{"title":"Recruitment analytics for grant reporting","prompt":"I need to produce two reports on our study recruitment data — 60 rows covering group-a and group-b from last quarter. Please compute the weighted mean for enrolled_candidates and use median to fill any missing values before reporting."}],"resultDescription":"Returns two independent analytical reports per call: (1) a secondary-measure weighted mean computed across the supplied recruitment rows for the chosen field (eligible_candidates or enrolled_candidates), and (2) an explicitly missing-value-filled dataset using the selected method (zero, mean, or median). Covers up to 200 input rows with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, eligible_candidates, enrolled_candidates) — validation error","Date field does not match YYYY-MM-DD pattern — schema validation failure","Numeric field values outside allowed range — rejection","Invalid enum value for field or method parameters — error response"],"whenToPreferThis":"Choose this endpoint when you have tabular study recruitment data (eligible and enrolled candidates) and need both a weighted mean computation and missing-value imputation in a single call. It is purpose-built for research or education recruitment analytics on supplied data up to 200 rows, with no external lookups or live data dependencies. Prefer it over generic statistics APIs when you need exactly two co-produced reports (weighted mean + filled dataset) on candidate enrollment fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:50:01.608Z","isFirstParty":false,"canonicalSlug":"study-recruitment-secondary-measure-weighted-mean-explicit-missing-7eeb4e28"}