{"uid":"cap_FG8LJVCYdivckEs3pMfiW","slug":"travel-administration-two-measure-correlation-and-missing-value-fill-7bcf44c0","name":"Travel Administration Two-Measure Correlation and Missing-Value Fill","description":"Travel administration — Two-measure correlation + Explicit missing-value fill: Two-measure correlation + Explicit missing-value fill for supplied travel administration records (trip_count, recorded_cost). 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-operations-14-184?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","trip_count","recorded_cost"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"trip_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"recorded_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","trip_count":10,"recorded_cost":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","trip_count":20,"recorded_cost":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","trip_count":15,"recorded_cost":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","trip_count":30,"recorded_cost":4}],"maxItems":200,"minItems":1},"field":{"enum":["trip_count","recorded_cost"],"type":"string","default":"trip_count"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_TTz2nwt_WB3F8BZ5gR7Uc","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 correlation between trip_count and recorded_cost, and fills missing values in a chosen field using zero, mean, or median imputation for up to 200 travel administration rows.","exampleAgentPrompt":"I have up to 200 rows of travel administration data with trip_count and recorded_cost columns — some values are missing. Can you run a correlation analysis between those two measures and fill in the missing recorded_cost values using median imputation?","exampleUseCases":[{"title":"Corporate travel spend correlation","prompt":"Here are 150 rows of our team travel records with trip_count and recorded_cost per group and date — can you calculate the correlation between number of trips and cost, and fill any missing recorded_cost values using the mean?"},{"title":"Missing trip count imputation for finance","prompt":"Our travel dataset has some null trip_count entries across different team groups. Can you fill those nulls using median imputation and also tell me how correlated trip_count is with recorded_cost across all 80 rows?"},{"title":"Travel data quality check before reporting","prompt":"Before I send our Q3 travel report, I need you to zero-fill any missing trip_count values in these 60 rows and compute the correlation between trip count and recorded cost so I know how tightly they track each other."}],"resultDescription":"Returns two analytical reports: (1) a Pearson correlation coefficient between trip_count and recorded_cost across all supplied rows, and (2) the dataset with missing values in the specified field (trip_count or recorded_cost) replaced using the chosen method (zero, mean, or median). Results are computed locally with no external lookups.","failureModes":["Input array exceeds 200 rows — request will be rejected","Missing required fields (row_id, date, team_group) cause row-level validation errors","Invalid date format (not YYYY-MM-DD) fails pattern validation","Numeric values outside ±1,000,000,000,000 range rejected","Requesting imputation on a field that has no nulls returns data unchanged but still counts as a report","Submitting fewer than 1 row fails minItems constraint"],"whenToPreferThis":"Choose this endpoint when you have tabular travel administration data (up to 200 rows) with trip_count and recorded_cost fields and need both a correlation statistic and missing-value imputation in a single $0.01 call. Prefer it over general-purpose analytics tools when you want a lightweight, self-contained statistical operation with no external data access, no prediction, and deterministic local computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:51:41.580Z","isFirstParty":false,"canonicalSlug":"travel-administration-two-measure-correlation-and-missing-value-fill-7bcf44c0"}