{"uid":"cap_kAUxkRvLtRDpLyaiQ3qsY","slug":"sampling-observations-base-100-series-and-explicit-missing-value-fill-e755ee98","name":"Sampling Observations Base-100 Series and Explicit Missing-Value Fill","description":"Sampling observations — Base-100 series + Explicit missing-value fill: Base-100 series + Explicit missing-value fill 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-169?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"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"},"base_index":{"type":"integer","default":0,"maximum":199,"minimum":0}}},"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_7kWBmhCBbA_JqPezG0qox","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 base-100 index series and fills missing values (zero, mean, or median) for up to 200 rows of weighted sampling observation data.","exampleAgentPrompt":"I have 150 rows of daily sampling observations with some missing sample_value entries — can you rebase the series to base-100 starting from row index 0 and fill the missing values using median imputation?","exampleUseCases":[{"title":"Survey panel data normalization","prompt":"I've got 80 rows of survey panel observations across two groups, some sample_value fields are null — please index them to base-100 starting from position 0 and fill the missing values with the mean, working on the sample_value field."},{"title":"Market research sample rebase","prompt":"Can you take my 120 market research sampling records and convert the sample_value column to a base-100 index anchored at row 5, then fill any gaps using zero substitution?"},{"title":"Weighted observation quality fill","prompt":"I have a dataset of 60 sampling observations where sample_weight has some nulls — rebase the sample_weight field to base-100 from index 0 and impute the missing weights using the median method."}],"resultDescription":"Returns two analytical reports: (1) a base-100 indexed series where each row's value is expressed relative to the reference row at base_index, and (2) an explicitly missing-value-filled version of the chosen field (sample_value or sample_weight) using the specified fill method (zero, mean, or median). Both reports are computed locally without external lookups.","failureModes":["Fewer than 1 row or more than 200 rows submitted — rejected by schema validation","base_index out of range (0–199) or exceeds actual row count — may cause reference errors","Non-numeric or out-of-range sample_value/sample_weight values — rejected by schema constraints","Invalid date format (not YYYY-MM-DD) — schema pattern validation failure","Missing required fields (row_id, dataset_group, date) — request rejected","All values null in selected field — mean/median imputation may produce undefined results"],"whenToPreferThis":"Choose this endpoint when you need to (1) normalize a time-series or grouped observation dataset to a common base-100 index anchored at a specific reference row, AND (2) simultaneously handle missing values via zero, mean, or median fill — all in a single cheap call ($0.01 USDC). Ideal for small-to-medium datasets (≤200 rows) of weighted sampling observations. Prefer alternatives if you need live data lookup, predictive modeling, deduplication, outlier flagging, or datasets larger than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:37:54.998Z","isFirstParty":false,"canonicalSlug":"sampling-observations-base-100-series-and-explicit-missing-value-fill-e755ee98"}