{"uid":"cap_5UlGDTD4o7pyQ83fSCkbQ","slug":"time-series-completeness-trailing-mean-two-measure-correlation-465e3b27","name":"Time Series Completeness — Trailing Mean + Two-Measure Correlation","description":"Time series completeness — Trailing mean series + Two-measure correlation: Trailing mean series + Two-measure correlation for supplied time series completeness records (observed_points, expected_points). 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-analytics-16-150?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","observed_points","expected_points"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"expected_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"observed_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","expected_points":1,"observed_points":10},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","expected_points":2,"observed_points":20},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","expected_points":3,"observed_points":15},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","expected_points":4,"observed_points":30}],"maxItems":200,"minItems":1},"field":{"enum":["observed_points","expected_points"],"type":"string","default":"observed_points"},"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_-WvZJREJP70DBERvvlbV6","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 mean series and a two-measure Pearson correlation for time series completeness records (observed_points vs expected_points) across up to 200 rows.","exampleAgentPrompt":"Run a trailing mean series and two-measure correlation on my time series completeness data — I have 120 rows with observed_points and expected_points per date for two dataset groups, using a window of 7 days on the observed_points field.","exampleUseCases":[{"title":"Monitor pipeline data completeness trends","prompt":"I have daily completeness records for my ETL pipeline — observed_points versus expected_points for each dataset group — can you compute a 14-day trailing mean and the correlation between observed and expected across 90 rows?"},{"title":"QA reporting on sensor data gaps","prompt":"We're auditing sensor data collection: I have 150 rows with observed and expected point counts per day across multiple sensor groups. Run a trailing mean with window 5 on observed_points and also give me the two-measure correlation between observed and expected."},{"title":"Benchmark two metrics in completeness time series","prompt":"I want to understand how closely our observed data points track our expected targets. Please compute a trailing mean series using a window of 10 and the correlation between observed_points and expected_points for my 60-row completeness dataset."}],"resultDescription":"Returns two independent analytical reports: (1) a trailing mean series smoothed over the specified window for the chosen field (observed_points or expected_points), and (2) a Pearson correlation coefficient between observed_points and expected_points across the supplied rows. Both reports are derived locally from the submitted data with no external lookup.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows submitted — exceeds maximum and will be rejected","Window size larger than the number of rows — insufficient data for trailing mean","Missing required fields (row_id, date, observed_points, expected_points) — schema validation failure","Malformed date strings (not YYYY-MM-DD) — pattern validation error","All null values in a measure — correlation computation undefined"],"whenToPreferThis":"Choose this endpoint when you need both a smoothed trailing mean series and a correlation analysis on time series completeness data (observed vs expected points) in a single call. It is ideal for data quality monitoring workflows where you want to quantify data collection gaps and measure how closely observed volumes track expected volumes over time, without needing external data enrichment or live predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:38:05.858Z","isFirstParty":false,"canonicalSlug":"time-series-completeness-trailing-mean-two-measure-correlation-465e3b27"}