Statistics

Statistics for Business

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
πŸ’°
Retail & Finance

Discounts, tax, tips, profit margins

Every business decision involves uncertainty. Should you launch the new product? Is the marketing campaign working? Which pricing strategy will maximize revenue? Statistics gives you the tools to measure that uncertainty and make better choices β€” replacing gut feelings with evidence.

This page connects the statistical concepts from Mean, Median, and Mode and Hypothesis Testing to practical business applications.

A/B Testing Fundamentals

An A/B test is simply a randomized experiment applied to business. You split users (or customers, or visitors) into two groups at random, show each group a different version of something, and measure which version performs better.

The process mirrors the scientific method:

  1. State a hypothesis β€” β€œA green button will produce more sign-ups than a blue button”
  2. Randomize β€” randomly assign each website visitor to see Version A or Version B
  3. Collect data β€” track the outcome (conversions, clicks, purchases) for each group
  4. Analyze β€” use a hypothesis test to determine whether the observed difference is statistically significant or could have occurred by chance

A/B testing works because randomization ensures the two groups are comparable β€” any difference in outcomes is likely caused by the change, not by preexisting differences between the groups.

Example 1: Website Button Color

An e-commerce company tests whether changing their β€œBuy Now” button from blue (Version A) to green (Version B) increases conversions.

  • Version A (blue button): 120 conversions out of 5,000 visitors = 2.4%
  • Version B (green button): 150 conversions out of 5,000 visitors = 3.0%

Is this difference statistically significant, or could it be due to random variation?

Step 1 β€” State hypotheses.

  • H0H_0: The two proportions are equal (pA=pBp_A = p_B)
  • HaH_a: The two proportions are different (pAβ‰ pBp_A \neq p_B)

Step 2 β€” Calculate the pooled proportion.

p^=120+1505000+5000=27010,000=0.027\hat{p} = \frac{120 + 150}{5000 + 5000} = \frac{270}{10{,}000} = 0.027

Step 3 β€” Calculate the standard error.

SE=p^(1βˆ’p^)(1n1+1n2)=0.027Γ—0.973Γ—(15000+15000)SE = \sqrt{\hat{p}(1 - \hat{p})\left(\frac{1}{n_1} + \frac{1}{n_2}\right)} = \sqrt{0.027 \times 0.973 \times \left(\frac{1}{5000} + \frac{1}{5000}\right)}

SE=0.026271Γ—0.0004=0.000010508=0.003242SE = \sqrt{0.026271 \times 0.0004} = \sqrt{0.000010508} = 0.003242

Step 4 β€” Calculate the z-statistic.

z=p^Aβˆ’p^BSE=0.024βˆ’0.0300.003242=βˆ’0.0060.003242=βˆ’1.851z = \frac{\hat{p}_A - \hat{p}_B}{SE} = \frac{0.024 - 0.030}{0.003242} = \frac{-0.006}{0.003242} = -1.851

Step 5 β€” Find the p-value (two-sided).

p-value=2Γ—P(Zβ‰€βˆ’1.851)β‰ˆ2Γ—0.0321=0.0642p\text{-value} = 2 \times P(Z \leq -1.851) \approx 2 \times 0.0321 = 0.0642

Step 6 β€” Decision.

At significance level Ξ±=0.05\alpha = 0.05: since p=0.0642>0.05p = 0.0642 > 0.05, we fail to reject H0H_0. The observed difference is not statistically significant at the 5% level.

Business interpretation: While the green button appears to perform better (3.0% vs. 2.4%), the evidence is not strong enough to rule out random chance. Options include running the test longer to collect more data, accepting the result at a less strict threshold (Ξ±=0.10\alpha = 0.10), or testing a more dramatically different design.

Time Series and Forecasting Basics

A time series is a sequence of data points measured at regular intervals over time β€” monthly revenue, daily website traffic, quarterly sales.

Three components drive the patterns in a time series:

  • Trend: the long-term direction (upward growth, decline, or flat)
  • Seasonality: repeating patterns tied to calendar periods (holiday sales spikes, summer slowdowns, end-of-quarter pushes)
  • Noise: random, unpredictable variation that obscures the underlying pattern

Moving Averages to Smooth Noise

A moving average replaces each data point with the average of its neighbors, smoothing out short-term noise to reveal the underlying trend.

Example 2: 3-Month Moving Average

A small business tracks monthly revenue (in thousands):

MonthJanFebMarAprMayJunJulAug
Revenue4238455047534855

The 3-month moving average for each month (starting with March) averages the current month and the two preceding months:

March:Β 42+38+453=1253=41.67\text{March: } \frac{42 + 38 + 45}{3} = \frac{125}{3} = 41.67

April:Β 38+45+503=1333=44.33\text{April: } \frac{38 + 45 + 50}{3} = \frac{133}{3} = 44.33

May:Β 45+50+473=1423=47.33\text{May: } \frac{45 + 50 + 47}{3} = \frac{142}{3} = 47.33

June:Β 50+47+533=1503=50.00\text{June: } \frac{50 + 47 + 53}{3} = \frac{150}{3} = 50.00

July:Β 47+53+483=1483=49.33\text{July: } \frac{47 + 53 + 48}{3} = \frac{148}{3} = 49.33

August:Β 53+48+553=1563=52.00\text{August: } \frac{53 + 48 + 55}{3} = \frac{156}{3} = 52.00

The moving average reveals a steady upward trend (from 41.67 to 52.00) that is harder to see in the raw monthly numbers, which bounce up and down.

Survey Design for Market Research

Surveys are one of the most common data collection methods in business. But a poorly designed survey produces misleading data. Key principles include:

Writing unbiased questions:

  • Avoid leading questions: β€œDon’t you agree our service is excellent?” pushes toward β€œyes”
  • Better: β€œHow would you rate our service?” with a balanced scale (1 = Poor, 5 = Excellent)
  • Avoid double-barreled questions: β€œWas the product affordable and high-quality?” conflates two separate issues

Choosing sample size:

  • Larger samples produce more precise estimates (narrower confidence intervals)
  • The margin of error for a proportion is approximately 1n\frac{1}{\sqrt{n}}
  • For a margin of error of Β±3%\pm 3\%: nβ‰ˆ10.032β‰ˆ1,111n \approx \frac{1}{0.03^2} \approx 1{,}111 respondents
  • For Β±5%\pm 5\%: nβ‰ˆ10.052=400n \approx \frac{1}{0.05^2} = 400 respondents

Avoiding bias:

  • Use random sampling β€” convenience samples (surveying only people at one store location) miss entire segments of your customer base
  • Watch for non-response bias β€” the people who do not respond may differ systematically from those who do
  • See Sampling Methods and Bias in Studies for more detail

KPIs and Dashboard Interpretation

Key Performance Indicators (KPIs) are the metrics that matter most to a business. Common KPIs include:

KPIFormulaWhat It Measures
Conversion RateConversionsVisitorsΓ—100\frac{\text{Conversions}}{\text{Visitors}} \times 100Effectiveness of sales funnel
Churn RateCustomersΒ lostΒ inΒ periodCustomersΒ atΒ startΒ ofΒ periodΓ—100\frac{\text{Customers lost in period}}{\text{Customers at start of period}} \times 100Customer retention
Average Order ValueTotalΒ revenueNumberΒ ofΒ orders\frac{\text{Total revenue}}{\text{Number of orders}}Revenue per transaction
Customer Lifetime ValueAvg.Β orderΒ valueΓ—PurchaseΒ frequencyChurnΒ rate\frac{\text{Avg. order value} \times \text{Purchase frequency}}{\text{Churn rate}}Long-term customer worth

When reading a dashboard, the key statistical question is: Does this change represent a real shift, or is it normal variation?

A conversion rate that drops from 3.2% to 2.9% in one week might just be noise. But a drop from 3.2% to 2.0% sustained over three weeks is almost certainly a real signal. Control chart thinking β€” the same approach used in Statistics for Trades and Quality Control β€” applies here too. Establish what β€œnormal” looks like, and flag deviations that exceed 2β€”3 standard deviations.

Risk Assessment Using Variability

When comparing two options with different levels of risk, the coefficient of variation (CV) provides a standardized measure that allows fair comparison:

CV=σμ×100%CV = \frac{\sigma}{\mu} \times 100\%

The CV expresses the standard deviation as a percentage of the mean. A higher CV means more relative risk.

Example 3: Comparing Investment Risk

Two investment funds have the following historical performance:

FundMean Annual ReturnStandard Deviation
Fund A8%3%
Fund B12%8%

Fund A:

CVA=38Γ—100%=37.5%CV_A = \frac{3}{8} \times 100\% = 37.5\%

Fund B:

CVB=812Γ—100%=66.7%CV_B = \frac{8}{12} \times 100\% = 66.7\%

Interpretation: Fund B offers higher average returns (12% vs. 8%), but its returns are almost twice as variable relative to the mean (CV of 66.7% vs. 37.5%). For every unit of expected return, Fund B carries significantly more risk.

A risk-averse investor might prefer Fund A for its consistency. A risk-tolerant investor might accept Fund B’s volatility in exchange for higher expected returns. The CV does not tell you which to choose β€” it quantifies the trade-off so you can make an informed decision.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: An online store runs an A/B test on its checkout page. Version A: 85 purchases out of 3,000 visitors. Version B: 110 purchases out of 3,000 visitors. What are the conversion rates for each version?

VersionΒ A:Β 853000Γ—100%=2.83%\text{Version A: } \frac{85}{3000} \times 100\% = 2.83\%

VersionΒ B:Β 1103000Γ—100%=3.67%\text{Version B: } \frac{110}{3000} \times 100\% = 3.67\%

Answer: Version A converts at 2.83% and Version B at 3.67%. Version B appears to perform better, but a formal hypothesis test would be needed to determine if the difference is statistically significant.

Problem 2: Compute the 3-month moving average for months 3 through 6, given: Month 1 = 200, Month 2 = 220, Month 3 = 210, Month 4 = 240, Month 5 = 230, Month 6 = 250.

MonthΒ 3:Β 200+220+2103=6303=210\text{Month 3: } \frac{200 + 220 + 210}{3} = \frac{630}{3} = 210

MonthΒ 4:Β 220+210+2403=6703=223.33\text{Month 4: } \frac{220 + 210 + 240}{3} = \frac{670}{3} = 223.33

MonthΒ 5:Β 210+240+2303=6803=226.67\text{Month 5: } \frac{210 + 240 + 230}{3} = \frac{680}{3} = 226.67

MonthΒ 6:Β 240+230+2503=7203=240\text{Month 6: } \frac{240 + 230 + 250}{3} = \frac{720}{3} = 240

Answer: The 3-month moving averages are 210, 223.33, 226.67, and 240, showing a steady upward trend.

Problem 3: A customer satisfaction survey of 400 respondents finds that 72% are satisfied. What is the approximate margin of error?

Using the quick formula:

MarginΒ ofΒ errorβ‰ˆ1n=1400=120=0.05=5%\text{Margin of error} \approx \frac{1}{\sqrt{n}} = \frac{1}{\sqrt{400}} = \frac{1}{20} = 0.05 = 5\%

For a more precise estimate using the proportion:

ME=1.96Γ—0.72Γ—0.28400=1.96Γ—0.2016400=1.96Γ—0.000504=1.96Γ—0.02245=0.044=4.4%ME = 1.96 \times \sqrt{\frac{0.72 \times 0.28}{400}} = 1.96 \times \sqrt{\frac{0.2016}{400}} = 1.96 \times \sqrt{0.000504} = 1.96 \times 0.02245 = 0.044 = 4.4\%

Answer: The approximate margin of error is 4.4% to 5%, meaning the true satisfaction rate is likely between about 67% and 77%.

Problem 4: A company’s monthly website traffic over 6 months is: 10,200; 10,800; 9,900; 11,500; 10,600; 12,000. Calculate the mean and standard deviation.

xˉ=10200+10800+9900+11500+10600+120006=65,0006=10,833.33\bar{x} = \frac{10200 + 10800 + 9900 + 11500 + 10600 + 12000}{6} = \frac{65{,}000}{6} = 10{,}833.33

Deviations from the mean: βˆ’633.33,β€…β€Šβˆ’33.33,β€…β€Šβˆ’933.33,β€…β€Š666.67,β€…β€Šβˆ’233.33,β€…β€Š1166.67-633.33, \; -33.33, \; -933.33, \; 666.67, \; -233.33, \; 1166.67

s=(βˆ’633.33)2+(βˆ’33.33)2+(βˆ’933.33)2+(666.67)2+(βˆ’233.33)2+(1166.67)26βˆ’1s = \sqrt{\frac{(-633.33)^2 + (-33.33)^2 + (-933.33)^2 + (666.67)^2 + (-233.33)^2 + (1166.67)^2}{6 - 1}}

s=401,107+1,111+871,105+444,449+54,443+1,361,1195=3,133,3345=626,667=791.6s = \sqrt{\frac{401{,}107 + 1{,}111 + 871{,}105 + 444{,}449 + 54{,}443 + 1{,}361{,}119}{5}} = \sqrt{\frac{3{,}133{,}334}{5}} = \sqrt{626{,}667} = 791.6

Answer: The mean traffic is approximately 10,833 visitors per month with a standard deviation of approximately 792 visitors.

Problem 5: Two product lines have the following monthly sales figures. Product X: mean = 500 units, SD = 60 units. Product Y: mean = 1,200 units, SD = 120 units. Which product has more consistent sales relative to its volume?

CVX=60500Γ—100%=12%CV_X = \frac{60}{500} \times 100\% = 12\%

CVY=1201200Γ—100%=10%CV_Y = \frac{120}{1200} \times 100\% = 10\%

Answer: Product Y has a lower coefficient of variation (10% vs. 12%), meaning its sales are more consistent relative to its volume. Although Product Y has a higher absolute standard deviation (120 vs. 60), its much higher mean makes the relative variability smaller.

Key Takeaways

  • A/B testing is a randomized experiment applied to business β€” it requires a hypothesis, random assignment, sufficient sample size, and a formal significance test
  • Moving averages smooth noisy time series data to reveal underlying trends and seasonality
  • Survey design matters as much as analysis β€” biased questions produce biased data regardless of sample size
  • KPIs should be interpreted with statistical thinking β€” distinguish real changes from normal variation before acting
  • The coefficient of variation lets you compare risk across investments, products, or strategies with different scales

Return to Statistics for more topics in this section.

Last updated: March 29, 2026