document.write( "Question 1170653: The conversion rate of our website is 2.5%, meaning that from 1000 website visitors 25 place an order (purchase).
\n" ); document.write( "If the purchase amount per conversion is 15$ and the today' website visitors will be 220,
\n" ); document.write( "a) What is the probability that we will make exactly 150$ today?
\n" ); document.write( "b) What is the probability that we will make between 90$ and 210$ today?
\n" ); document.write( "c) You now want to improve your webpage by changing the UX design, but you are not sure if this will
\n" ); document.write( "increase the conversion rate. So, you run a split A/B test with the old version (A) and the new UX-enhanced
\n" ); document.write( "version (B) of your web page and measure the following results on Google Analytics:
\n" ); document.write( " * Equal sample size of 678 for A and B respectively
\n" ); document.write( " * 17 conversions on the A-page
\n" ); document.write( " * 28 conversions on the B page.
\n" ); document.write( "Can you claim with 95% confidence, that the new (B) page has a higher conversion rate, than A?
\n" ); document.write( "d) What is the min. sample size (assuming equal sample sizes for A and B) needed in order to conclude from a
\n" ); document.write( "difference in sample conversion rates of just 0.1% (convA=2.5% and convB=2.6%) that B is superior with
\n" ); document.write( "95% confidence?
\n" ); document.write( "e) The marketing manager finally decides to change the design of the web page to design B. Previously the
\n" ); document.write( "average time spent on the page was 3 minutes and 20 seconds and the standard deviation was 50 seconds.
\n" ); document.write( "Now after the new design a sample of 100 visits show an average time spent on page of 3 minutes 30
\n" ); document.write( "seconds. She claims that this is an improvement, meaning that people spend now more time on the page.
\n" ); document.write( "Can she be 99% confident that she’s right? Prove your answer
\n" ); document.write( "f) What if the confidence level in e) was relaxed to 95%?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #851120 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
Let's break down each part of this problem step-by-step.\r
\n" ); document.write( "\n" ); document.write( "**a) Probability of making exactly $150 today**\r
\n" ); document.write( "\n" ); document.write( "1. **Calculate expected conversions:**
\n" ); document.write( " * Expected conversions = (Visitors * Conversion rate) = 220 * 0.025 = 5.5 conversions.\r
\n" ); document.write( "\n" ); document.write( "2. **Calculate the number of conversions to make $150:**
\n" ); document.write( " * Conversions needed = $150 / $15 per conversion = 10 conversions.\r
\n" ); document.write( "\n" ); document.write( "3. **Use the binomial distribution:**
\n" ); document.write( " * P(X = k) = (nCk) * p^k * q^(n-k)
\n" ); document.write( " * P(X = 10) = (220C10) * (0.025)^10 * (0.975)^210
\n" ); document.write( " * This is a very small probability, and it's difficult to calculate directly due to the large numbers. We'll use a normal approximation.\r
\n" ); document.write( "\n" ); document.write( "4. **Normal approximation:**
\n" ); document.write( " * Mean (μ) = np = 5.5
\n" ); document.write( " * Standard deviation (σ) = √(npq) = √(220 * 0.025 * 0.975) ≈ 2.316
\n" ); document.write( " * z = (x - μ) / σ
\n" ); document.write( " * z1 = (9.5 - 5.5) / 2.316 ≈ 1.727
\n" ); document.write( " * z2 = (10.5 - 5.5) / 2.316 ≈ 2.159
\n" ); document.write( " * P(9.5 < X < 10.5) = P(1.727 < Z < 2.159)
\n" ); document.write( " * P(Z < 2.159) ≈ 0.9846
\n" ); document.write( " * P(Z < 1.727) ≈ 0.9579
\n" ); document.write( " * P(9.5 < X < 10.5) = 0.9846 - 0.9579 ≈ 0.0267\r
\n" ); document.write( "\n" ); document.write( "5. **Answer:**
\n" ); document.write( " * The probability of making exactly $150 is approximately 0.0267.\r
\n" ); document.write( "\n" ); document.write( "**b) Probability of making between $90 and $210 today**\r
\n" ); document.write( "\n" ); document.write( "1. **Calculate conversions for $90 and $210:**
\n" ); document.write( " * Conversions for $90 = $90 / $15 = 6 conversions
\n" ); document.write( " * Conversions for $210 = $210 / $15 = 14 conversions.\r
\n" ); document.write( "\n" ); document.write( "2. **Normal approximation:**
\n" ); document.write( " * z1 = (5.5 - 5.5) / 2.316 ≈ 0
\n" ); document.write( " * z2 = (14.5 - 5.5) / 2.316 ≈ 3.886
\n" ); document.write( " * z3 = (6.5 - 5.5) / 2.316 ≈ 0.432
\n" ); document.write( " * P(6.5 < X < 14.5) = P(0.432 < Z < 3.886)
\n" ); document.write( " * P(Z < 3.886) ≈ 1
\n" ); document.write( " * P(Z < 0.432) ≈ 0.667
\n" ); document.write( " * P(0.432 < Z < 3.886) = 1 - 0.667 = 0.333\r
\n" ); document.write( "\n" ); document.write( "3. **Answer:**
\n" ); document.write( " * The probability of making between $90 and $210 is approximately 0.333.\r
\n" ); document.write( "\n" ); document.write( "**c) Claiming B has a higher conversion rate with 95% confidence**\r
\n" ); document.write( "\n" ); document.write( "1. **Calculate conversion rates:**
\n" ); document.write( " * ConvA = 17 / 678 ≈ 0.0251 = 2.51%
\n" ); document.write( " * ConvB = 28 / 678 ≈ 0.0413 = 4.13%\r
\n" ); document.write( "\n" ); document.write( "2. **Calculate standard errors:**
\n" ); document.write( " * SE_A = √[ConvA * (1 - ConvA) / 678] ≈ 0.00607
\n" ); document.write( " * SE_B = √[ConvB * (1 - ConvB) / 678] ≈ 0.00778\r
\n" ); document.write( "\n" ); document.write( "3. **Calculate the standard error of the difference:**
\n" ); document.write( " * SE_diff = √(SE_A² + SE_B²) ≈ √(0.00607² + 0.00778²) ≈ 0.00987\r
\n" ); document.write( "\n" ); document.write( "4. **Calculate the z-score:**
\n" ); document.write( " * z = (ConvB - ConvA) / SE_diff = (0.0413 - 0.0251) / 0.00987 ≈ 1.641\r
\n" ); document.write( "\n" ); document.write( "5. **Compare to critical z-value:**
\n" ); document.write( " * For 95% confidence (one-tailed), z_critical = 1.645\r
\n" ); document.write( "\n" ); document.write( "6. **Conclusion:**
\n" ); document.write( " * Since 1.641 < 1.645, you cannot claim with 95% confidence that B has a higher conversion rate.\r
\n" ); document.write( "\n" ); document.write( "**d) Minimum sample size for 0.1% difference with 95% confidence**\r
\n" ); document.write( "\n" ); document.write( "1. **Given:**
\n" ); document.write( " * ConvA = 0.025
\n" ); document.write( " * ConvB = 0.026
\n" ); document.write( " * Difference = 0.001
\n" ); document.write( " * z_critical = 1.96 (two-tailed)\r
\n" ); document.write( "\n" ); document.write( "2. **Formula:**
\n" ); document.write( " * n = [z² * (p1 * (1-p1) + p2 * (1-p2))] / (p1 - p2)²\r
\n" ); document.write( "\n" ); document.write( "3. **Calculate:**
\n" ); document.write( " * n = [1.96² * (0.025 * 0.975 + 0.026 * 0.974)] / 0.001²
\n" ); document.write( " * n ≈ [3.8416 * (0.024375 + 0.025324)] / 0.000001
\n" ); document.write( " * n ≈ [3.8416 * 0.049699] / 0.000001
\n" ); document.write( " * n ≈ 190828\r
\n" ); document.write( "\n" ); document.write( "4. **Answer:**
\n" ); document.write( " * The minimum sample size needed is approximately 190,828 per group.\r
\n" ); document.write( "\n" ); document.write( "**e) 99% confidence about time spent on page**\r
\n" ); document.write( "\n" ); document.write( "1. **Given:**
\n" ); document.write( " * μ0 = 200 seconds (3 min 20 sec)
\n" ); document.write( " * μ = 210 seconds (3 min 30 sec)
\n" ); document.write( " * s = 50 seconds
\n" ); document.write( " * n = 100
\n" ); document.write( " * α = 0.01 (one-tailed)\r
\n" ); document.write( "\n" ); document.write( "2. **Calculate the t-statistic:**
\n" ); document.write( " * t = (μ - μ0) / (s / √n) = (210 - 200) / (50 / √100) = 10 / 5 = 2\r
\n" ); document.write( "\n" ); document.write( "3. **Find critical t-value:**
\n" ); document.write( " * df = 99
\n" ); document.write( " * t_critical ≈ 2.365\r
\n" ); document.write( "\n" ); document.write( "4. **Conclusion:**
\n" ); document.write( " * Since 2 < 2.365, she cannot be 99% confident.\r
\n" ); document.write( "\n" ); document.write( "**f) 95% confidence about time spent on page**\r
\n" ); document.write( "\n" ); document.write( "1. **Critical t-value:**
\n" ); document.write( " * df = 99
\n" ); document.write( " * t_critical ≈ 1.66\r
\n" ); document.write( "\n" ); document.write( "2. **Conclusion:**
\n" ); document.write( " * Since 2 > 1.66, she can be 95% confident.
\n" ); document.write( "
\n" ); document.write( "
\n" );