{"uid":"cap_ykv_W3RVpufz4gwpdTEku","slug":"elevation-samples-two-measure-correlation-secondary-measure-weighted-53a52a52","name":"Elevation Samples — Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Elevation samples — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied elevation samples records (elevation_m, 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-weather-13-181?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","elevation_m","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},"elevation_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","elevation_m":10,"sample_weight":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","elevation_m":20,"sample_weight":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","elevation_m":15,"sample_weight":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","elevation_m":30,"sample_weight":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["elevation_m","sample_weight"],"type":"string","default":"elevation_m"}}},"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_N2tSyr6uBqVj750RG3y6G","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 Pearson/rank correlation between elevation_m and sample_weight, plus a weighted mean of sample_weight, for up to 200 supplied elevation sample rows — no external data fetched.","exampleAgentPrompt":"I have up to 200 elevation sample records with elevation_m and sample_weight fields — can you run a two-measure correlation between elevation_m and sample_weight, plus a weighted mean of sample_weight, across all my rows?","exampleUseCases":[{"title":"Elevation-weight relationship check","prompt":"I have 150 weather station elevation readings with sample weights — can you compute the correlation between elevation_m and sample_weight and give me the weighted mean of the sample_weight column?"},{"title":"Station group data quality validation","prompt":"Run a correlation and weighted mean analysis on these 80 elevation sample records across my two station groups (group-a and group-b) so I can see if elevation and weight are related."},{"title":"Temporal elevation sampling summary","prompt":"I collected daily elevation samples from October 2026 across four sites — please compute the two-measure correlation between elevation_m and sample_weight, and the secondary-measure weighted mean, for all 200 rows."}],"resultDescription":"Returns two analytical reports: (1) a correlation coefficient measuring the linear relationship between elevation_m and sample_weight across all supplied rows, and (2) a weighted mean of the secondary measure (sample_weight), computed locally without any external data fetch or prediction.","failureModes":["Rows array empty or missing — validation error returned","More than 200 rows submitted — request rejected with max-items error","Non-numeric or null values in elevation_m or sample_weight may reduce report accuracy or return nulls","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Payment not included or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have tabular elevation sample data with associated weights and need both a correlation statistic and a weighted mean in a single API call, without requiring external data sources, predictions, or live lookups. It is especially useful for offline or batch analytical pipelines where two statistical reports are needed cheaply ($0.01 per call) on small datasets up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:41:55.350Z","isFirstParty":false,"canonicalSlug":"elevation-samples-two-measure-correlation-secondary-measure-weighted-53a52a52"}