Fundamentals of Business Analytics

Chapter 9
Experimentation and Causal Analytics

Bachelors Program in Business Analytics
Fundamentals of Business Analytics   •   Bachelor

Experimentation and Causal Analytics

Introduction

Business analytics is often used to answer three different questions:

  1. Description: What happened?
  2. Prediction: What is likely to happen next?
  3. Causation: What would happen if a decision or intervention changed?

These questions are related but not interchangeable. A retailer may observe that customers who receive discount codes purchase more often. This association does not necessarily mean that the discount caused the purchases. Customers who receive codes may already be more loyal, more active, or more likely to buy. Causal analytics attempts to estimate the effect of an intervention while accounting for alternative explanations.

Experimentation provides the strongest practical foundation for causal analysis. In a randomized experiment, units such as customers, employees, stores, or website visits are assigned to treatment and control conditions by chance. Randomization tends to balance both observed and unobserved characteristics between groups, allowing differences in outcomes to be interpreted as effects of the intervention, subject to design quality and implementation assumptions.

This chapter develops the foundations of causal reasoning, A/B testing, treatment-effect interpretation, threats to validity, and introductory quasi-experimental methods.

Learning Objectives

By the end of this chapter, you should be able to:

  • distinguish correlation, prediction, and causation;
  • explain counterfactuals, treatment effects, and causal estimands;
  • design and evaluate A/B tests and randomized experiments;
  • calculate and interpret average treatment effects and related measures;
  • recognize confounding, selection bias, interference, attrition, and other threats to validity;
  • distinguish statistical significance from practical significance;
  • explain introductory quasi-experimental approaches;
  • communicate experimental evidence responsibly to managers and stakeholders.

1. Correlation, Prediction, and Causation

Correlation

Correlation describes the degree to which two variables vary together. A positive association means that higher values of one variable tend to occur with higher values of another; a negative association means that higher values tend to occur with lower values. Association alone does not identify the direction of influence or establish that one variable causes the other.

For two variables X and Y, the Pearson correlation coefficient is commonly written as:

rXY = cov(X,Y) ÷ (σX × σY)

Here, cov(X,Y) is the covariance between X and Y, and σX and σY are their standard deviations. The coefficient ranges from −1 to +1 and measures linear association. It does not prove causation, and a value near zero does not rule out a nonlinear relationship.

A relationship may arise because X causes Y, Y causes X, a third variable causes both, the relationship is coincidental, or the variables are measured in a biased way.

Prediction

Prediction focuses on forecasting an outcome using available information. A predictive model can be highly accurate without representing a causal mechanism. For example, an employee’s job title may predict salary because it summarizes experience, responsibility, and organizational level. Changing the job-title label would not necessarily cause the salary to change.

Predictive models are judged primarily by out-of-sample performance, calibration, robustness, and operational usefulness. Causal models are judged by whether their assumptions support claims about interventions or counterfactual outcomes. A variable may improve prediction while being inappropriate for decision-making if it reflects discrimination, leakage, or a post-treatment consequence.

Causation

A causal claim states that changing one factor would change an outcome, all else relevant being held constant. The phrase “all else equal” is difficult to achieve through observation alone because real-world conditions change simultaneously. Randomized experiments approximate this condition by assigning treatment independently of potential outcomes.

The distinction is important for business decisions. Prediction can identify customers likely to churn; causal analysis asks whether sending a retention offer reduces churn, and for which customers.

2. The Potential-Outcomes Framework

Let each unit i have two potential outcomes:

  • Yi(1): the outcome if unit i receives treatment;
  • Yi(0): the outcome if unit i does not receive treatment.

The individual treatment effect is:

τi = Yi(1) − Yi(0)

Only one of these potential outcomes is observed for any unit. This is the fundamental problem of causal inference: we cannot observe the same unit simultaneously under treatment and control. The unobserved potential outcome is often called the counterfactual.

The average treatment effect (ATE) is:

ATE = E[Y(1) − Y(0)] = E[Y(1)] − E[Y(0)]

where E denotes the population mean or expected value. The ATE summarizes the average causal effect for a defined target population.

Other estimands may be more suitable. The average treatment effect on the treated (ATT) is:

ATT = E[Y(1) − Y(0) | T = 1]

where T = 1 indicates treatment receipt. A treatment may have a positive ATE but a smaller or negative effect for the treated if treatment assignment targets unusual units or if effects vary substantially.

These formulas assume that treatment, outcome, and target population are clearly defined. A causal claim must specify the intervention, comparison condition, outcome, timing, unit of analysis, and population to which it applies.

3. Randomized Experiments and A/B Tests

An A/B test is a randomized experiment with at least two conditions, often called A and B. Condition A is usually the control or current practice, while condition B is the treatment or proposed change. Examples include:

  • two versions of a checkout page;
  • different email subject lines;
  • alternative prices or promotions;
  • a new employee scheduling policy;
  • different product recommendations.

Basic design

A sound experiment normally includes the following steps:

  1. Define the decision and hypothesis. State what action the experiment will inform and predict the direction or size of the effect where possible.
  2. Define the unit of randomization. This may be a customer, account, store, employee, session, or geographic region.
  3. Specify treatment and control. Describe exactly what each group receives.
  4. Choose outcomes. Identify a primary outcome before examining results. Define its measurement window and unit.
  5. Randomize assignment. Use a reproducible mechanism, such as a randomized hash or random-number generator.
  6. Determine sample size and duration. Consider baseline variation, minimum practically important effect, statistical power, and operational constraints.
  7. Monitor implementation. Check assignment balance, exposure, data quality, and adverse events without repeatedly stopping for favorable results.
  8. Estimate and interpret effects. Report point estimates, uncertainty, practical significance, and relevant subgroup results.
  9. Document and decide. Record deviations, limitations, and whether the evidence supports rollout, modification, or further testing.

Randomization and exchangeability

Randomization makes treatment assignment independent of potential outcomes in expectation. In a simple two-group experiment, this supports the comparison:

ATEestimate = ȲT − ȲC

where ȲT is the mean outcome for the treatment group and ȲC is the mean outcome for the control group. Under valid randomization, adequate implementation, and appropriate analysis, this difference estimates the ATE for the experimental population.

Randomization does not automatically solve every problem. It cannot correct faulty outcome measurement, noncompliance, interference between units, differential attrition, or an experiment that does not represent the intended deployment population.

Blocking and clustering

If important groups differ systematically, researchers may use blocking or stratification. For example, customers may be randomized separately within region or customer tier. This preserves randomization while improving balance and precision.

When treatment is assigned to groups such as stores or classrooms, observations within a group may be correlated. This is a cluster-randomized experiment. The effective information is less than the raw number of observations because members of the same cluster tend to resemble one another. Analysis must account for clustering, and sample-size planning should use the number and variation of clusters, not only the number of individuals.

4. Measuring and Interpreting Treatment Effects

Suppose a website experiment produces the following results:

GroupVisitorsPurchasesConversion rate
Control10,0008008.0%
Treatment10,0009009.0%

The estimated absolute treatment effect is:

9.0% − 8.0% = 1.0 percentage point

The relative effect is:

(9.0% − 8.0%) ÷ 8.0% = 0.125 = 12.5%

The number needed to treat (NNT), when an increase in a binary outcome is beneficial, is approximately:

NNT = 1 ÷ |pT − pC|

where pT and pC are treatment and control probabilities expressed as proportions, not percentages. Here, NNT = 1 ÷ 0.01 = 100. Approximately 100 visitors must receive the treatment to generate one additional purchase, assuming the estimate applies operationally.

Absolute and relative effects answer different questions. A 12.5% relative increase sounds substantial, but the absolute increase is one purchase per 100 visitors. Managers should also consider revenue, margin, implementation cost, customer experience, and longer-term effects.

Uncertainty and confidence intervals

An estimate is not the same as a known population effect. A confidence interval communicates sampling uncertainty. For a difference in means, a common large-sample interval is:

estimate ± critical value × standard error

The standard error depends on outcome variability, sample size, design, and analysis method. A 95% confidence interval is constructed by a procedure that captures the true parameter in approximately 95% of repeated samples under its assumptions. It does not mean there is a 95% probability that the fixed parameter lies in this particular interval.

A p-value is the probability, under a specified null model, of observing results at least as extreme as those obtained. It is not the probability that the null hypothesis is true, nor is it a measure of business importance. Statistical significance should be considered alongside effect size, interval width, cost, risk, and decision context.

Heterogeneous treatment effects

An average effect can conceal important differences. Treatment effects may vary by customer tenure, device, geography, risk level, or usage frequency. Subgroup analysis should be motivated in advance where possible, and many subgroup tests increase the chance of false discoveries. A subgroup result should be replicated or supported by a clear mechanism before guiding major policy.

5. Threats to Validity

Confounding

A confounder affects both treatment assignment and the outcome, creating a misleading association. Suppose customers who receive a loyalty discount purchase more. Loyalty status may influence both discount receipt and purchasing. A naive comparison mixes the discount effect with pre-existing loyalty differences.

Randomization reduces confounding by making treatment assignment unrelated to baseline characteristics in expectation. In observational data, analysts may use adjustment, matching, stratification, or regression, but these methods require strong assumptions and cannot automatically control for unmeasured confounders.

Selection bias

Selection bias occurs when inclusion, treatment receipt, follow-up, or analysis depends on factors related to outcomes. For example, analyzing only customers who opened an email may exaggerate the effect because openers are more engaged. Conditioning on a post-treatment variable can create bias even when baseline randomization was valid.

Attrition and missing outcomes

If outcomes are missing differently across groups, the observed treatment difference may be biased. Analysts should report retention by group, investigate reasons for missingness, and use sensitivity analyses. Assuming that missing observations are harmless is not a substitute for examining the data-generating process.

Noncompliance

Some assigned treatment units do not receive treatment, while some control units may gain access to it. The intention-to-treat (ITT) effect compares units according to assigned group, regardless of compliance. ITT preserves the benefit of randomization and estimates the effect of offering or assigning the intervention.

An effect among only those who complied may be operationally attractive but is harder to identify. It requires additional assumptions, such as exclusion restrictions and the absence of certain forms of behavior, and should not be confused with the ITT effect.

Contamination and interference

The stable unit treatment value assumption is often summarized as SUTVA. It includes a consistency idea—treatment must be well-defined—and a no-interference idea—one unit’s treatment should not affect another unit’s outcome. These assumptions fail when customers share promotions, employees influence one another, or a marketplace intervention changes supply and demand for untreated users.

Cluster-level randomization or network-aware designs may be required when spillovers are expected.

Novelty, seasonality, and duration

A treatment may appear effective because users react temporarily to something new. Conversely, an effect may take time to develop. Experiments should run long enough to capture relevant usage cycles and should account for day-of-week, holiday, seasonal, and promotional effects. Short tests can be misleading when outcomes are delayed or when treatment changes behavior only briefly.

External validity

Internal validity concerns whether the experiment identifies an effect for the tested units under tested conditions. External validity concerns whether the result generalizes to other customers, markets, times, or implementation settings. A well-controlled experiment in one market may not justify a global rollout without considering differences in regulation, culture, competition, and operating conditions.

6. Observational and Quasi-Experimental Approaches

Randomized experiments are not always feasible or ethical. A company cannot randomly assign harmful working conditions, and policy changes may apply to everyone simultaneously. Quasi-experimental methods seek variation that approximates random assignment, but their conclusions depend heavily on design assumptions.

Before-and-after comparisons

A before-and-after comparison measures outcomes before and after an intervention. It is easy to conduct but vulnerable to history, seasonality, trends, and regression to the mean. If sales rise after a campaign, the increase may reflect market growth rather than the campaign.

Difference-in-differences

Difference-in-differences compares changes over time in a treated group with changes in a comparison group:

DiD = (YT,after − YT,before) − (YC,after − YC,before)

The central parallel-trends assumption is that, absent treatment, the treated and comparison groups would have experienced similar changes. Analysts should inspect pre-treatment trends and consider whether other events affected the groups differently. The formula identifies a causal effect only if the design and assumptions are credible.

Regression discontinuity

A regression-discontinuity design uses a treatment rule based on a cutoff. For example, applicants scoring at least 70 may receive a grant, while those scoring below 70 do not. Units just above and below the threshold may be comparable, so a discontinuity in outcomes at the cutoff can estimate a local treatment effect.

The method requires that units cannot precisely manipulate the assignment variable around the cutoff and that no other intervention changes discontinuously at the same point. The estimate generally applies locally near the threshold, not necessarily to all applicants.

Instrumental variables

An instrumental variable affects treatment assignment but influences the outcome only through treatment, and it must be sufficiently related to treatment. These assumptions are difficult to verify. Instrumental-variable estimates often describe a local average treatment effect for units whose treatment status responds to the instrument, rather than an effect for the entire population.

Matching and statistical adjustment

Matching attempts to compare treated and untreated units with similar observed characteristics. Regression and propensity-score methods can adjust for measured confounders. However, similarity on recorded variables does not guarantee similarity on unrecorded variables. These approaches are most credible when treatment selection is well understood and rich pre-treatment data are available.

7. An Illustrative Case: Reducing Cart Abandonment

The following is a fictional illustrative case.

Background and problem

An online retailer observes that 68% of shopping carts do not lead to a purchase. The product team proposes a simplified checkout page that removes two optional fields. Management wants to know whether the redesign increases completed purchases without increasing customer-service contacts or fraud losses.

Design

The unit of randomization is the customer account, rather than the page view, because one customer may visit repeatedly. Eligible customers are randomly assigned to the existing checkout or the redesigned checkout. Assignment is held constant for four weeks to avoid customers seeing conflicting interfaces.

The primary outcome is purchase completion within seven days of initiating checkout. Secondary outcomes are order margin, customer-service contact within 14 days, refund rate, and fraud alerts. The team defines a minimum practically important increase of 0.5 percentage points before examining results.

Analysis

The control conversion rate is 8.0%, and treatment conversion is 8.7%. The estimated absolute effect is 0.7 percentage points. The team reports a confidence interval and finds that the interval excludes zero. However, treatment also increases customer-service contacts by 0.3 percentage points, and the effect differs by device type.

The team checks assignment balance, exposure, duplicate accounts, missing outcomes, and whether customers crossed between conditions. It uses an intention-to-treat analysis as the primary analysis because some assigned customers did not load the redesigned page.

Decision

The redesign is not approved solely because conversion increased. The company estimates incremental margin from additional purchases and subtracts service, fraud, development, and refund costs. It deploys the redesign first to desktop users, where the net benefit is positive, while conducting a revised experiment for mobile users.

Learning points

  • A clear primary outcome reduces post hoc decision-making.
  • Randomization at the account level can prevent inconsistent exposure.
  • ITT preserves the meaning of assignment.
  • Secondary outcomes can reveal harms hidden by a single success metric.
  • Statistical significance does not guarantee economic value.
  • Treatment effects may differ across meaningful operating contexts.

8. Ethics, Governance, and Responsible Experimentation

Experiments affect real people and can redistribute benefits, costs, access, and risk. Organizations should assess whether the intervention is proportionate, whether participants face avoidable harm, and whether legal or institutional review is required. Consent requirements vary by context, but lack of formal consent does not eliminate ethical responsibility.

Important governance practices include:

  • documenting the hypothesis, design, data sources, and analysis plan;
  • minimizing collection of personal data;
  • protecting sensitive attributes and access credentials;
  • defining stopping rules for safety or severe harm;
  • monitoring fairness across relevant groups;
  • avoiding discriminatory treatment or exploitative manipulation;
  • preserving an audit trail of assignment and analysis decisions;
  • communicating uncertainty rather than overstating findings.

AI systems create additional experimentation issues. Personalization algorithms may continuously change treatment exposure, making stable control groups difficult. Adaptive experimentation can improve efficiency but requires careful statistical control and transparent monitoring. Models may also optimize short-term clicks while harming customer welfare or long-term retention. Human oversight, governance review, and outcome monitoring remain necessary.

9. Best Practices for Analysts

A credible causal analysis should:

  1. begin with a precise causal question rather than a convenient dataset;
  2. define treatment, control, unit, outcome, timing, and target population;
  3. distinguish pre-treatment variables from mediators and post-treatment variables;
  4. prefer randomization when feasible and ethical;
  5. preregister or document primary outcomes and decision rules;
  6. use power planning based on a meaningful effect, not only a desired sample size;
  7. analyze according to assignment first, then explain deviations;
  8. report absolute effects, relative effects, uncertainty, and costs;
  9. check balance, contamination, attrition, and implementation fidelity;
  10. conduct sensitivity and subgroup analyses cautiously;
  11. separate exploratory findings from confirmatory evidence;
  12. replicate important results under varied conditions.

Causal analytics is ultimately a disciplined way of connecting evidence to decisions. It combines statistical reasoning with operational knowledge, ethical judgment, and transparent communication.

Chapter Summary

Correlation describes association, prediction forecasts outcomes, and causation concerns the effect of an intervention. Predictive accuracy alone does not justify a causal claim. The potential-outcomes framework defines individual effects through the difference between treated and untreated potential outcomes, while the ATE summarizes the average difference for a target population.

Randomized A/B tests estimate causal effects by assigning units to treatment and control independently of their potential outcomes. The difference in group means estimates the ATE when randomization is valid and implementation assumptions are reasonable. Analysts should report absolute and relative effects, uncertainty, practical significance, and relevant costs.

Confounding, selection bias, attrition, noncompliance, interference, novelty, seasonality, and limited external validity can weaken conclusions. Intention-to-treat analysis preserves the effect of assignment in randomized studies. When randomization is infeasible, difference-in-differences, regression discontinuity, instrumental variables, matching, and adjustment may provide useful evidence, but each depends on substantive assumptions.

Responsible experimentation requires clear hypotheses, sound measurement, ethical safeguards, privacy protection, fairness monitoring, and transparent communication. The strongest business decisions combine causal evidence with operational, financial, and human considerations.

Key Terms

A/B test: A randomized comparison between two or more versions of an intervention.

Average treatment effect (ATE): The average difference between treatment and untreated potential outcomes in a defined population.

Average treatment effect on the treated (ATT): The average causal effect among units that received treatment.

Causal inference: The process of estimating effects of interventions or exposures.

Confounder: A variable related to both treatment assignment and the outcome that can distort an association.

Control group: Units receiving the comparison condition.

Counterfactual: The potential outcome that would have occurred under the alternative treatment condition.

Difference-in-differences: A design comparing changes over time between treated and comparison groups.

External validity: The extent to which findings generalize beyond the study setting.

Intention-to-treat effect: The effect of being assigned or offered treatment, regardless of actual compliance.

Interference: A condition in which one unit’s treatment affects another unit’s outcome.

Internal validity: The credibility of a causal conclusion for the studied units and conditions.

Potential outcome: An outcome a unit would experience under a specified treatment condition.

Prediction: Estimation of future or unknown outcomes using available information.

Randomization: Assignment to conditions by chance.

Regression discontinuity: A quasi-experiment based on treatment assignment at a cutoff.

Selection bias: Systematic distortion caused by how units enter, receive, remain in, or are analyzed in a study.

Statistical significance: Evidence assessed relative to a specified null model and sampling uncertainty.

Treatment effect: The difference in an outcome caused by receiving an intervention.

Validity: The credibility and applicability of an analytical conclusion.

Multiple Choice Questions with Answers

Question 1

Which statement best distinguishes prediction from causation?

A. Prediction always requires a randomized experiment.

B. A predictive relationship necessarily identifies an intervention effect.

C. Prediction forecasts outcomes, whereas causation concerns the effect of changing an intervention.

D. Causation is simply correlation measured with more data.

Correct Answer: C. Prediction forecasts outcomes, whereas causation concerns the effect of changing an intervention.

Question 2

In the potential-outcomes framework, what is the individual treatment effect for unit i?

A. Y_i(1) + Y_i(0)

B. Y_i(1) − Y_i(0)

C. Y_i(1) ÷ Y_i(0)

D. Y_i(0) − T_i

Correct Answer: B. Y_i(1) − Y_i(0)

Question 3

A control conversion rate is 8.0% and a treatment conversion rate is 9.0%. What is the absolute treatment effect?

A. 0.1 percentage point

B. 1.0 percentage point

C. 8.9 percentage points

D. 12.5 percentage points

Correct Answer: B. 1.0 percentage point

Question 4

Why is intention-to-treat analysis commonly used in randomized experiments?

A. It analyzes units according to assigned group and preserves the meaning of randomization.

B. It removes all sampling uncertainty.

C. It guarantees that every participant receives treatment.

D. It estimates only the effect among perfect compliers.

Correct Answer: A. It analyzes units according to assigned group and preserves the meaning of randomization.

Question 5

Which condition is central to a difference-in-differences design?

A. Treatment effects must be identical for every individual.

B. The treated and comparison groups must have equal sample sizes.

C. The groups would have followed parallel trends without treatment.

D. The outcome must be binary.

Correct Answer: C. The groups would have followed parallel trends without treatment.

Question 6

A customer’s loyalty status affects both receipt of a discount and purchasing. In an observational comparison, loyalty status is most likely a:

A. Mediator

B. Confounder

C. Randomization unit

D. Post-treatment outcome

Correct Answer: B. Confounder

Question 7

If treatment is assigned to stores and outcomes of employees within the same store are correlated, the design is best described as:

A. A cluster-randomized experiment

B. A regression discontinuity design

C. A pure cross-sectional survey

D. An instrumental-variable design

Correct Answer: A. A cluster-randomized experiment

Question 8

What does a 12.5% relative increase from an 8.0% baseline represent when the treatment rate is 9.0%?

A. A 1.0 percentage-point increase

B. A 0.125 percentage-point increase

C. A 12.5 percentage-point increase

D. A decrease of 1.0 percentage point

Correct Answer: A. A 1.0 percentage-point increase

Question 9

A regression-discontinuity design generally estimates an effect for which population?

A. All people in the economy

B. Units near the assignment cutoff

C. Only units who refuse treatment

D. Only units selected by convenience sampling

Correct Answer: B. Units near the assignment cutoff

Question 10

Which practice best supports responsible experimentation?

A. Changing the primary outcome after seeing favorable results

B. Ignoring adverse outcomes if conversion improves

C. Documenting hypotheses, monitoring harms, and reporting uncertainty

D. Using personally identifiable data whenever it increases sample size

Correct Answer: C. Documenting hypotheses, monitoring harms, and reporting uncertainty

Fundamentals of Business Analytics
Chapter 9 of 15