{"uid":"cap_W_lZjHSehzk04ZUNwcjzu","slug":"membership-activity-two-measure-correlation-f09e7fed","name":"Membership Activity Two-Measure Correlation","description":"Membership activity - Two-measure correlation: Two-measure correlation for Membership activity. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded two-measure correlation deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-membership-correlation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","tier","date","members","renewals"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"tier":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"members":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"renewals":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","tier":"group-a","row_id":"row-1","members":10,"renewals":1},{"date":"2026-10-02","tier":"group-b","row_id":"row-2","members":20,"renewals":2},{"date":"2026-10-03","tier":"group-a","row_id":"row-3","members":15,"renewals":3},{"date":"2026-10-04","tier":"group-b","row_id":"row-4","members":30,"renewals":4}],"maxItems":200,"minItems":1}}},"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_XVH9742VhmC82jkD1KnxN","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 Pearson (or equivalent) correlation coefficient between two numeric measures—members and renewals—across up to 200 membership activity records, grouped optionally by tier and date.","exampleAgentPrompt":"Can you compute the two-measure correlation between members and renewals for my membership activity data? I have 4 records: row-1 on 2026-10-01 for group-a with 10 members and 1 renewal, row-2 on 2026-10-02 for group-b with 20 members and 2 renewals, row-3 on 2026-10-03 for group-a with 15 members and 3 renewals, and row-4 on 2026-10-04 for group-b with 30 members and 4 renewals.","exampleUseCases":[{"title":"Renewal rate correlation for SaaS tiers","prompt":"I have monthly membership data broken down by tier — enterprise, pro, and starter — with member counts and renewal counts for each day last quarter. Can you run a two-measure correlation between members and renewals across all those records so I can see how closely renewals track membership size?"},{"title":"Gym membership retention analysis","prompt":"Here's 60 rows of daily gym membership data with member headcount and renewal figures per location tier. Can you calculate the correlation between the members and renewals columns so I know whether locations with more members also tend to have higher renewals?"},{"title":"Subscription churn signal detection","prompt":"I want to know if our member count and renewal numbers are statistically linked — I'll send you 120 records tagged by subscription tier and date. Run the two-measure correlation on members vs renewals and tell me the result."}],"resultDescription":"Returns a bounded correlation deliverable containing the computed correlation coefficient (ranging from -1 to 1) between the 'members' and 'renewals' numeric measures across the submitted records, reflecting the strength and direction of their linear relationship.","failureModes":["Fewer than 1 row submitted — minimum items violation","More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, tier, date, members, renewals) on any record","Date field does not match YYYY-MM-DD pattern — schema validation failure","Non-numeric values in members or renewals fields (null is allowed)","Insufficient variance in one or both measures making correlation undefined (e.g. all values identical)","Payment not completed — x402 payment required before result is delivered"],"whenToPreferThis":"Choose this endpoint when you need a fast, local statistical correlation between two numeric membership measures (members and renewals) on a batch of up to 200 records, without requiring external data enrichment, forecasting, or complex multi-variate analysis. It is ideal for subscription or membership businesses that want a quick, cheap ($0.01 USDC) signal on whether their member count and renewal volume move together.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:47:24.671Z","isFirstParty":false,"canonicalSlug":"membership-activity-two-measure-correlation-f09e7fed"}