{"uid":"cap_NSkrBBccRAi_BBUSdHjhC","slug":"transport-ridership-trailing-mean-series-two-measure-correlation-a59ea791","name":"Transport Ridership Trailing Mean Series + Two-Measure Correlation","description":"Transport ridership — Trailing mean series + Two-measure correlation: Trailing mean series + Two-measure correlation for supplied transport ridership records (passenger_count, service_count). 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-05-150?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","passenger_count","service_count"],"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},"service_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"passenger_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","service_count":1,"passenger_count":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","service_count":2,"passenger_count":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","service_count":3,"passenger_count":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","service_count":4,"passenger_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["passenger_count","service_count"],"type":"string","default":"passenger_count"},"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_AFO99tl9IlQrW9lrTGzgW","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 two-measure correlation analysis on supplied transport ridership data (passenger_count and service_count) for up to 200 rows.","exampleAgentPrompt":"I have 4 rows of transit ridership data — row-1 through row-4 across regions group-a and group-b, each with passenger_count and service_count values — can you compute a trailing mean series with a window of 3 on the passenger_count field and also run the two-measure correlation between passenger_count and service_count?","exampleUseCases":[{"title":"Transit route smoothing for operations team","prompt":"Here are 120 rows of daily ridership data for our metro lines with passenger_count and service_count from January through April — can you compute a trailing mean series with a window of 7 on passenger_count so I can see smoothed demand trends, and also show me how correlated service frequency is with ridership?"},{"title":"Monthly regional ridership correlation report","prompt":"I've got ridership records for 5 regions over the past 3 months, up to 200 rows total, with passenger_count and service_count per day — run a trailing mean with window 14 on service_count and tell me the correlation between passenger_count and service_count so I can see if adding more services is actually moving the needle."},{"title":"Bus network efficiency analysis","prompt":"Can you analyze these 50 rows of bus network data — each row has a date, region, passenger_count, and service_count — compute a trailing mean series using window size 5 on passenger_count and then correlate the two measures so I can see if service levels are driving ridership?"}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series computed over the specified window for the chosen field (passenger_count or service_count), and (2) a Pearson or similar correlation coefficient between passenger_count and service_count across the supplied rows. Results are derived entirely from the submitted data with no external lookups.","failureModes":["Fewer than 1 row submitted — minimum items validation failure","window size exceeds number of rows — insufficient data for trailing mean","invalid date format (not YYYY-MM-DD) — pattern validation error","row_id missing or empty — required field violation","numeric values outside allowed range (±1,000,000,000,000) — schema rejection","more than 200 rows submitted — maxItems exceeded"],"whenToPreferThis":"Choose this endpoint when you have raw transport ridership records with passenger_count and service_count fields and need both a rolling/trailing average trend series and a correlation analysis between the two measures in a single call. It is purpose-built for transit analytics on supplied data up to 200 rows and avoids needing two separate calls. Prefer alternatives if you need histogram bucketing, outlier detection, or daily sum aggregations instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:50:48.380Z","isFirstParty":false,"canonicalSlug":"transport-ridership-trailing-mean-series-two-measure-correlation-a59ea791"}