{"uid":"cap_uAN_uQy_JKgAEOM8Nvh7J","slug":"study-recruitment-trailing-mean-series-two-measure-correlation-da017c03","name":"Study Recruitment Trailing Mean Series + Two-Measure Correlation","description":"Study recruitment — Trailing mean series + Two-measure correlation: Trailing mean series + Two-measure correlation 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-150?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_m_unbAsZLzZnj6PMhkvRP","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 trailing moving average series and a Pearson/two-measure correlation report for study recruitment data (eligible_candidates and enrolled_candidates) from up to 200 supplied rows.","exampleAgentPrompt":"Run a trailing mean series with a window of 3 and a two-measure correlation report on my study recruitment data — here are 5 rows: row-1 on 2026-10-01 group-a with 100 eligible and 10 enrolled, row-2 on 2026-10-02 group-b with 200 eligible and 18 enrolled, row-3 on 2026-10-03 group-a with 150 eligible and 14 enrolled, row-4 on 2026-10-04 group-b with 300 eligible and 25 enrolled, row-5 on 2026-10-05 group-a with 120 eligible and 11 enrolled; use eligible_candidates as the target field.","exampleUseCases":[{"title":"Monitor clinical trial enrollment trends","prompt":"I have weekly clinical trial recruitment figures across two site groups for the past 20 weeks — can you compute a trailing mean series with a window of 4 on eligible_candidates and also give me the correlation between eligible and enrolled candidates?"},{"title":"Evaluate course enrollment conversion rate","prompt":"Here's my month of daily course group recruitment data — 30 rows with eligible_candidates and enrolled_candidates. Please run a 7-day trailing mean on eligible_candidates and tell me the two-measure correlation between eligibles and enrollments across the series."},{"title":"Detect seasonal dips in candidate pipeline","prompt":"I want to spot smoothed dips in our candidate pipeline. Can you run a trailing mean series with window 5 on enrolled_candidates for these 50 rows of recruitment data and also compute the correlation between eligible_candidates and enrolled_candidates?"}],"resultDescription":"Returns two independent analytical reports: (1) a trailing mean series showing the rolling average of the selected field (eligible_candidates or enrolled_candidates) over the specified window across all supplied rows, and (2) a two-measure correlation report quantifying the statistical relationship between eligible_candidates and enrolled_candidates. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Fewer than 2 rows supplied — minimum 1 row required but trailing mean needs at least window-size rows to produce meaningful results","Window size exceeds number of rows — trailing mean output will have limited or no fully-windowed values","Invalid date format — dates must match YYYY-MM-DD pattern","Row count exceeds 200 — request will be rejected","Null values in eligible_candidates or enrolled_candidates may reduce correlation accuracy","Payment failure via x402 protocol will prevent execution"],"whenToPreferThis":"Choose this endpoint when you have tabular study or course recruitment data (up to 200 rows) with eligible and enrolled candidate counts and need both a smoothed time-series view (trailing mean) and a linear correlation between the two measures in a single $0.01 call. It is ideal for offline/batch analytical jobs where no live data fetching, predictions, or external actions are needed — just pure local statistical computation on supplied rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:38.504Z","isFirstParty":false,"canonicalSlug":"study-recruitment-trailing-mean-series-two-measure-correlation-da017c03"}