{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "Ivan Baldin, Data Analyst: posts tagged A\/B test",
    "_rss_description": "Data analytics, probability theory, and applied statistics — from the practitioner’s perspective. Ivan Baldin writes about sales funnels, call center performance, conversion analysis, confidence intervals, binomial distributions, Z-scores, and the math behind data-driven decisions. Years of hands-on experience turning raw CRM data into actionable insights for sales teams and business leaders.",
    "_rss_language": "en",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/ivanbaldin.blog\/tags\/a-b-test\/",
    "feed_url": "https:\/\/ivanbaldin.blog\/tags\/a-b-test\/json\/",
    "icon": "https:\/\/ivanbaldin.blog\/pictures\/userpic\/userpic@2x.jpg?1774085044",
    "authors": [
        {
            "name": "Ivan Baldin",
            "url": "https:\/\/ivanbaldin.blog\/",
            "avatar": "https:\/\/ivanbaldin.blog\/pictures\/userpic\/userpic@2x.jpg?1774085044"
        }
    ],
    "items": [
        {
            "id": "5",
            "url": "https:\/\/ivanbaldin.blog\/all\/kupivip-voice-bot-guessing-the-sample-size\/",
            "title": "KupiVIP’s Voice Robot: Guessing the Sample Size",
            "content_html": "<p>In the article “<a href=\"https:\/\/vc.ru\/marketing\/54315-keys-zamenili-na-black-friday-koll-centr-kupivip-robotom-i-tolko-5-chelovek-iz-5000-ponyali-chto-obshchayutsya-s-neyrosetyu\">Case Study: On Black Friday, KupiVIP Replaced Their Call Center with a Robot, and Only 5 Out of 5,000 People Realized They Were Talking to a Neural Network<\/a>” on vc.ru, one phrase caught my attention above all else — the part where the author mentions a conversion rate increase from 6% to 8%:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/vc_quote.png\" width=\"1209\" height=\"593\" alt=\"&quot;the voice robot&#039;s promo code activation rate reached 8%, compared to 6% for real call center employees.&quot;\" \/>\n<\/div>\n<p>Naturally, I started wondering: on what call volume was this conversion rate increase observed, and was that volume sufficient to make a reliable claim that the voice robot outperforms live call center agents?<\/p>\n<p class=\"loud\">The question can be formulated precisely as follows: what is the minimum number of calls required to claim, with a confidence level of, say, 95%, that the conversion rate “increased from 6% to 8%”?<\/p>\n<h2>Building the Experiment in Google Spreadsheets<\/h2>\n<p>Let’s lay out the available data in Google Spreadsheets. For the calculations that follow, we’ll need a “number of calls” parameter — let’s assume for now that both the robot and live agents each made 1,000 calls before the 6% and 8% conversion rates were obtained:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/1000-1000.png\" width=\"439\" height=\"219\" alt=\"\" \/>\n<\/div>\n<p>Essentially, this is a standard A\/B split test, and we’ll need to walk through its algorithm to obtain the <i>Z-score<\/i> and calculate the <i>p-value<\/i>.<\/p>\n<p>Let’s calculate the standard errors (SD, or σ) for both conversion rates, along with the standard error of the difference between them. The formula for the standard error of a conversion rate:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/CodeCogsEqn.png\" width=\"201\" height=\"77\" alt=\"\" \/>\n<\/div>\n<p>where <i>p<\/i> is the conversion rate (6%, for example) and <i>n<\/i> is the sample size (1,000 calls). Here’s the Google Spreadsheets calculation:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/sqrt.png\" width=\"647\" height=\"231\" alt=\"\" \/>\n<\/div>\n<p>The standard error of the difference between conversion rates is calculated using the formula:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/CodeCogsEqn02.png\" width=\"230\" height=\"58\" alt=\"\" \/>\n<\/div>\n<p>where <i>σ<\/i> is the standard error of each conversion rate, A and B (live agent and robot). We’ll compute it just below in Google Spreadsheets:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/sd_difference.png\" width=\"622\" height=\"269\" alt=\"\" \/>\n<\/div>\n<p>How much larger is the difference between conversions A and B compared to the standard error of that difference? This ratio is called the <b><i>Z-score.<\/i><\/b> In Google Spreadsheets, it’s straightforward:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/z-score.png\" width=\"586\" height=\"298\" alt=\"\" \/>\n<\/div>\n<p>So the Z-score = 1.7541. On the normal distribution curve, this corresponds to the 96th percentile — meaning the probability of the Z-score randomly exceeding 1.7541 is about 4% (in other words, 96% of the area under the bell curve falls within +1.7541 standard deviations):<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/kupivip_robot_05.png\" width=\"706\" height=\"304\" alt=\"\" \/>\n<\/div>\n<p>Where did we get 96%? The exact probability, the <i>p-value<\/i>, is calculated using the formula:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">=NORM.DIST(1.7541,0,1,TRUE)<\/code><\/pre><div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/p-value.png\" width=\"693\" height=\"113\" alt=\"\" \/>\n<\/div>\n<p>P-value = 96.03%.<\/p>\n<p>So here’s our interim conclusion: <b>if, on a sample of 1,000 calls in each of the two groups, we observed conversion rates (promo code activations) of 6% and 8%, then we are 96% confident that this difference is not due to chance.<\/b> (There remains a 4% probability that the observed difference is random. In that case, perhaps the conversion rate is actually the same — say, 7% — and had we made more calls, the difference would have eventually disappeared.)<\/p>\n<h2>Minimum Experiment Size<\/h2>\n<p>Now, let’s get back to the original question.<\/p>\n<p>We weren’t trying to prove that 8% is greater than 6%, and the figure of 1,000 calls for the robot and agents was chosen arbitrarily. What we wanted to calculate was <b>the minimum number of calls needed to establish the statistical significance of the difference between 8% and 6% at a 95% confidence level.<\/b><\/p>\n<p>1,000 calls turned out to be more than enough. Now we just need to decrease this number until the p-value crosses the 95% threshold. (By the way, according to the normal distribution formula, this corresponds to a Z-score of 1.6449 — try verifying this yourself.)<\/p>\n<p>In theory, it would probably be possible to derive a large formula for the <i>n<\/i> at which the p-value equals 0.95. In practice, it’s faster to manually find the minimum n through trial and error. Or, better yet, install a <b>Goal Seek<\/b> add-on for Google Spreadsheets and use it to find the answer automatically:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/goal_seek_01.png\" width=\"954\" height=\"493\" alt=\"\" \/>\n<div class=\"e2-text-caption\">(Just make sure the number of robot calls is exactly the same as the number of live agent calls, i.e., you’ve entered =C6 in cell C7.)<\/div>\n<\/div>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/goal_seek_02.png\" width=\"939\" height=\"682\" alt=\"\" \/>\n<\/div>\n<h2>Conclusions<\/h2>\n<p>So, we’ve calculated the minimum experiment conditions for evaluating the effectiveness of the KupiVIP voice robot.<\/p>\n<p class=\"loud\">You need at least <b>879 calls<\/b> in each of the two groups to confirm, with a 95% confidence level, that there is a difference between the 6% promo code activation rate in the control group (real live agents) and the 8% rate in the test group (voice robot).<\/p>\n<p>(The only caveat is that neither 6% nor 8% yields a whole number of activations on a sample of 879 calls, and in reality, of course, the numbers would be different — and the number of calls in the two groups could vary as well. But this doesn’t really matter much, since the conversion rates cited in the article were most likely rounded.)<\/p>\n<h2>See also:<\/h2>\n<p><a href=\"https:\/\/abtestguide.com\/calc\/?ua=1000&ub=1000&ca=60&cb=80\">https:\/\/abtestguide.com\/calc\/?ua=1000&ub=1000&ca=60&cb=80<\/a><\/p>\n",
            "summary": "A voice robot beats call center with 8% vs. 6% promo code activations. But how many calls do you actually need to prove the difference is real? We walk through the A\/B test math and find the minimum sample size for 95% confidence using Goal Seek in Google Spreadsheets, Z-score and SD.",
            "date_published": "2019-07-20T13:18:00+03:00",
            "date_modified": "2026-04-12T03:31:13+03:00",
            "tags": [
                "A\/B test",
                "call center",
                "conversion",
                "Google Sheets",
                "statistics"
            ],
            "image": "https:\/\/ivanbaldin.blog\/pictures\/vc_quote.png",
            "_date_published_rfc2822": "Sat, 20 Jul 2019 13:18:00 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "5",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": [
                    "https:\/\/ivanbaldin.blog\/pictures\/vc_quote.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/1000-1000.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/CodeCogsEqn.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/sqrt.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/CodeCogsEqn02.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/sd_difference.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/z-score.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/kupivip_robot_05.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/p-value.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/goal_seek_01.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/goal_seek_02.png"
                ]
            }
        },
        {
            "id": "7",
            "url": "https:\/\/ivanbaldin.blog\/all\/call-quality-audits-determining-your-sample-size\/",
            "title": "Call Quality Audits: Determining Your Sample Size",
            "content_html": "<h2>Calculating Sample Size for Quality Call Audits<\/h2>\n<p>A common tool for assessing the quality of sales managers’ work is <b>quality auditing of phone calls<\/b>, or “call monitoring.”<\/p>\n<p>Suppose your goal is not simply to <b>measure<\/b> the quality of phone calls, but to <b>document <i>growth<\/i> in that quality.<\/b> For example, you conducted training for your managers, introduced new incentives for meeting quality standards, or implemented some other intervention.<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/create-a-1080-1080-pixels-flat-style-cartoon-showi-(1).png\" width=\"1080\" height=\"1080\" alt=\"\" \/>\n<\/div>\n<p>It’s reasonable to assume that an improvement in quality in the first random call recorded after the training won’t definitively prove that quality has improved across all calls. Likely, a second successful call won’t conclusively confirm the hypothesis either.<\/p>\n<p>Thus, you’ll need to listen to — if not all calls — at least a <b>sufficient number<\/b> of calls after your changes, and the number of calls you’ll need to audit can, in fact, <b>be calculated precisely.<\/b><\/p>\n<h2>Calculating Sample Size<\/h2>\n<p>On page 35 of the paper “<a href=\"https:\/\/bpb-us-e1.wpmucdn.com\/sites.ucsc.edu\/dist\/2\/1389\/files\/2026\/03\/part1.pdf\">Introduction to Statistical Inference and Experimental Design<\/a>” I found a suitable example 1.9 and a formula for calculating such samples:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/samplesize00.png\" width=\"858\" height=\"506\" alt=\"\" \/>\n<\/div>\n<p>In this example, an improvement in <a href=\"https:\/\/en.wikipedia.org\/wiki\/ACT\">ACT<\/a> math test scores from 24.5 (variance 8.2) to 26.0 points is considered, with α = 0.05 and power = 0.90.<\/p>\n<p>For convenience, I assembled the formula in a Google Sheet:<\/p>\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1nbpXgnRy9FQUAVQIwfHRHdj6Rvrkjom1UYsj4OHJnrc\/edit?usp=sharing\">Sample Size Calculator<\/a><\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/ivanbaldin.blog\/pictures\/samplesize03.png\" width=\"1283\" height=\"532\" alt=\"\" \/>\n<div class=\"e2-text-caption\">You simply need to copy the file and substitute your own values.<br \/>\nIt’s reasonable to choose a confidence level between 80% and 95%, and a statistical power between 60% and 80%. Enter the average call quality score before changes, the standard deviation (SD) of call scores “before,” and the expected average call quality score “after” your changes.<\/div>\n<\/div>\n<h2>See also:<\/h2>\n<p><a href=\"https:\/\/bpb-us-e1.wpmucdn.com\/sites.ucsc.edu\/dist\/2\/1389\/files\/2026\/03\/part1.pdf\">https:\/\/bpb-us-e1.wpmucdn.com\/sites.ucsc.edu\/dist\/2\/1389\/files\/2026\/03\/part1.pdf<\/a><\/p>\n",
            "summary": "Stop guessing how many calls to audit. Use this statistical formula to calculate the exact sample size needed for call audits that prove quality improvements. Learn about confidence levels, power calculations, and A\/B testing verification for your sales team.",
            "date_published": "2019-05-26T16:46:00+03:00",
            "date_modified": "2026-04-18T14:21:49+03:00",
            "tags": [
                "A\/B test",
                "call center",
                "equations",
                "Google Sheets",
                "Sales Department"
            ],
            "image": "https:\/\/ivanbaldin.blog\/pictures\/create-a-1080-1080-pixels-flat-style-cartoon-showi-(1).png",
            "_date_published_rfc2822": "Sun, 26 May 2019 16:46:00 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "7",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [],
                "og_images": [
                    "https:\/\/ivanbaldin.blog\/pictures\/create-a-1080-1080-pixels-flat-style-cartoon-showi-(1).png",
                    "https:\/\/ivanbaldin.blog\/pictures\/samplesize00.png",
                    "https:\/\/ivanbaldin.blog\/pictures\/samplesize03.png"
                ]
            }
        }
    ],
    "_e2_version": 4199,
    "_e2_ua_string": "Aegea 11.5 (v4199)"
}