{"uid":"cap_1h1_Oqth-xplT_EwDLvR6","slug":"sampling-observations-adjacent-row-changes-secondary-measure-weighted-b4a36f2d","name":"Sampling Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Sampling observations — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean for supplied sampling observations records (sample_value, sample_weight). 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-15-159?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","sample_value","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"sample_value":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","sample_value":10,"dataset_group":"group-a","sample_weight":1},{"date":"2026-10-02","row_id":"row-2","sample_value":20,"dataset_group":"group-b","sample_weight":2},{"date":"2026-10-03","row_id":"row-3","sample_value":15,"dataset_group":"group-a","sample_weight":3},{"date":"2026-10-04","row_id":"row-4","sample_value":30,"dataset_group":"group-b","sample_weight":4}],"maxItems":200,"minItems":1},"field":{"enum":["sample_value","sample_weight"],"type":"string","default":"sample_value"}}},"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_aSD7o380VtAelcC8EUuCR","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 adjacent row-to-row changes and secondary-measure weighted mean for up to 200 supplied sampling observation records in a single call.","exampleAgentPrompt":"I have 4 sampling observation rows with dates from 2026-10-01 to 2026-10-04, values 10, 20, 15, 30 and weights 1, 2, 3, 4 across groups group-a and group-b — can you run the adjacent row changes and secondary-measure weighted mean analysis on sample_value for me?","exampleUseCases":[{"title":"Survey response drift analysis","prompt":"I have 50 weekly survey responses with sample values and response weights across two demographic groups. Can you calculate the adjacent row changes and weighted mean of sample_value so I can see how sentiment shifted week over week?"},{"title":"Quality control sampling batch","prompt":"Here are 120 manufacturing quality-check readings with dates, sample values, and inspection weights split across three production lines — run the adjacent row changes plus secondary-measure weighted mean on sample_value for me so I can flag anomalies."},{"title":"Environmental measurement trend check","prompt":"I've got 80 air-quality sensor readings by date with sample_value for the measurement and sample_weight for sensor reliability — can you compute both the row-to-row changes and the weighted mean so I can see the trend and average reliability-adjusted reading?"}],"resultDescription":"Returns two analytical reports: (1) adjacent row changes showing sequential differences between consecutive sample_value (or sample_weight) observations, and (2) a secondary-measure weighted mean computed across the supplied records using sample_weight. Results are derived entirely from supplied data with no external lookup.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, date, sample_value, sample_weight, dataset_group) cause validation errors","Date strings not matching YYYY-MM-DD pattern are rejected","sample_value or sample_weight outside ±1,000,000,000,000 range triggers schema validation failure","Empty rows array (minItems: 1 not satisfied) returns error","Invalid field enum value (not 'sample_value' or 'sample_weight') causes rejection"],"whenToPreferThis":"Choose this endpoint when you need both adjacent row-to-row change analysis and a secondary-measure weighted mean computed together in one call on up to 200 supplied sampling records. It is ideal for survey, scientific, or quality-control data where you have explicit sample weights and want two distinct statistical perspectives simultaneously without any external data lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:33:31.126Z","isFirstParty":false,"canonicalSlug":"sampling-observations-adjacent-row-changes-secondary-measure-weighted-b4a36f2d"}