- Home
- Skills
- Research & Analysis
- A/B Math — Paste Visitor and Order Counts, Get Lift per Test
A/B Math — Paste Visitor and Order Counts, Get Lift per Test
One row per A/B comparison with visitors and orders. Get conversion rates, percentage-point and relative lift, a pooled z value and a small-sample caution.
$5
Works with the AI Agents you already use
A/B Math — Paste Visitor and Order Counts, Get Lift per Test
Example session with this skill installed
test,a_visitors,a_orders,b_visitors,b_orders
Blue button,1200,48,1180,59
Short form,22,2,24,4
- Read your context and instructions
- Compiled the a b math
| Test | A rate | B rate | B - A | Relative lift | z | Caution |
|---|---|---|---|---|---|---|
| Blue button | 4.00% | 5.00% | +1.00 pp | 25.00% | 1.1771 | none from the stated thresholds |
| Short form | 9.09% | 16.67% | +7.58 pp | 83.33% | 0.7621 | group below 30 visitors; expected cell below 5 |
Formula: z = (pB - pA) / sqrt(pooled_p * (1 - pooled_p) * (1/nA + 1/nB))
Read z as a standardized difference: its sign shows which rate is higher; its magnitude is measured in pooled standard errors. This descriptive value does not choose a winner or say when to stop a test.
A caution marks a group under 30 visitors, an expected cell under 5, or undefined pooled variance. The calculation does not adjust for repeated looks, multiple comparisons, or test design.
Connects securely to your tools. The creator never sees your data.
About this skill
Send one row per A/B comparison with visitors and orders for A and B, as a UTF-8 CSV or TSV. Get each conversion rate, B's percentage-point and relative lift, a pooled two-proportion z value, and a small-sample caution.
Input columns: test, a_visitors, a_orders, b_visitors, b_orders. Counts must be whole numbers; each variant needs at least one visitor and orders cannot exceed visitors.
Options: Markdown, JSON or CSV output; filter by total visitors; keep or drop flagged rows; sort by input order, lift, z or visitors; limit the number of rows; write the result to a new file (existing files are never overwritten).
Limits: A/B Math calculates from the counts you provide. It does not decide whether a result is significant, recommend a winner, estimate required sample size, or tell you when to stop. A caution marks a group under 30 visitors, an expected cell under 5, or zero pooled variance. It does not correct for repeated looks, multiple comparisons or assignment problems.
Included: the Python script, unit tests, a sample CSV and its sample report, and a README.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.
Requires Python 3.9+. Does not handle sequential testing, multiple comparisons, or experiment design. Input must follow strict header naming conventions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 8 days ago
- Software
Python 3.9+