{"uid":"cap_sBayJ1Y_dhTOgX6Fe9AWo","slug":"company-headcount-observations-two-measure-correlation-secondary-ececaf77","name":"Company Headcount Observations — Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Company headcount observations — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied company headcount observations records (headcount, open_roles). 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-company-12-181?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","headcount","open_roles"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"headcount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"open_roles":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","headcount":10,"open_roles":1,"company_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","headcount":20,"open_roles":2,"company_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","headcount":15,"open_roles":3,"company_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","headcount":30,"open_roles":4,"company_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["headcount","open_roles"],"type":"string","default":"headcount"}}},"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_cVIKGdMKEPYRuv2qNcOwL","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 headcount and open_roles, plus a weighted mean of the secondary measure, across up to 200 supplied company headcount observation rows.","exampleAgentPrompt":"I have 50 company headcount observations with headcount and open_roles values — can you compute the correlation between those two measures and give me the weighted mean of open_roles, using headcount as the primary field?","exampleUseCases":[{"title":"HR trend correlation for a startup","prompt":"I've got monthly headcount and open_roles records for two company groups over the past year — can you compute the correlation between headcount and open_roles across all 24 rows and also give me the weighted mean of open_roles using headcount as the primary field?"},{"title":"Workforce analytics report for multi-group company","prompt":"We have headcount observations for three business units across Q1 and Q2, about 80 rows total. Can you run a two-measure correlation between headcount and open_roles, and compute the weighted mean of open_roles for me?"},{"title":"Recruiting demand vs company size analysis","prompt":"Here are 150 rows of company staffing data with headcount and open_roles per date and company group — please compute the Pearson correlation between the two measures and the weighted mean of open_roles, treating headcount as the primary measure."}],"resultDescription":"Returns two independent analytical reports: (1) a correlation coefficient quantifying the relationship between headcount and open_roles across the supplied rows, and (2) a weighted mean of the secondary measure (open_roles when headcount is primary, or vice versa), computed locally from the supplied data with no external lookups.","failureModes":["Rows array is empty or missing — validation error","More than 200 rows supplied — rejected with maxItems error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Missing required fields (row_id, company_group, date, headcount, open_roles) — validation error","All headcount or open_roles values are null — correlation cannot be computed","field enum value not one of 'headcount' or 'open_roles' — validation error","Payment of 0.01 USDC not provided — request rejected"],"whenToPreferThis":"Choose this endpoint when you have pre-collected company headcount and open_roles tabular data (up to 200 rows) and need both a pairwise correlation and a weighted mean computed in a single low-cost call ($0.01 USDC). Ideal for HR analytics agents doing offline statistical summaries on supplied data without needing live data lookup, external enrichment, or prediction. Not suitable for real-time workforce data retrieval, forecasting, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:01.284Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-two-measure-correlation-secondary-ececaf77"}