CHAPTER
19
Group
6
·
Evaluate What the Test Found
Chapter 18 gave us the following lift estimate weekly transactions per experimental unit.
That tells us the estimated magnitude.
It does not tell us how precisely the analysis located that estimate.
For that, we need the Standard Error associated with the estimate.
Standard Deviation is not Standard Error
These are different statistical objects.
Standard Deviation
Recall from Chapters 5 & 6 that Standard Deviation describes variation in a defined set or distribution of observations.
Examples include:
- variation across unit-level historical KPI values;
- variation within units through time;
- variation among independent outcomes.
Those SDs played roles earlier in the Workbench.
Standard Error
Standard Error describes sampling uncertainty in an estimated quantity under a particular inferential analysis.
Here the quantity is .
So the relevant object is:
It has the same measurement units as the estimate.
If estimated lift is expressed in:
weekly transactions per experimental unit,
its Standard Error is also expressed in:
weekly transactions per experimental unit.
Precision
Precision describes how tightly the inferential procedure locates the estimate.
All else equal:
And:
But:
A small Standard Error does not prove:
- the comparison was causal;
- assignment was sound;
- the estimator was appropriate;
- confounding is absent;
- the sample is representative.
A precisely estimated wrong quantity is still the wrong quantity.
The matched-pair rule
This is the governing execution rule for the rest of LiftWorkbench:
The Standard Error must belong to the same inferential analysis that produced the estimate.
That means the same:
- estimated quantity;
- estimator;
- model;
- analytical sample;
- weighting;
- missingness/composition treatment;
- dependence treatment;
- inferential specification.
Do not combine:
with .
Even if the numbers look plausible.
Why not just calculate SD divided by square root of n?
You may have learned at some point:
That relationship is valid for particular statistical objects under particular assumptions.
It is not however a universal Standard Error for repeated, clustered or model-based experiments.
A multi-unit experiment may involve:
- repeated observations from the same unit;
- within-unit dependence;
- clustering;
- fixed effects;
- covariates;
- unequal weighting;
- model-specific variance estimation.
A generic:
can therefore manufacture a number that does not belong to the estimate.
So how is Standard Error actually calculated?
There is not one Standard Error formula for every estimate.
The correct calculation depends on what was estimated and how it was estimated.
For a simple difference between two independent group means, the Standard Error can be calculated directly.
Suppose:
where:
• is the treatment-group mean;
• is the control-group mean;
• sT and sC are the corresponding sample Standard Deviations;
• nT and nC are the numbers of independent experimental units in each group.
For the unequal-variance independent-groups calculation:
This equation tells us something important about Standard Error.
It gets smaller when:
• there is less variation within the groups;
• there are more independent experimental units.
And it gets larger when:
• outcomes vary more;
• there are fewer independent experimental units.
So Standard Error is not an arbitrary number attached to an estimate. It reflects the amount of independent information available for locating that estimate.
Calculate a simple Standard Error in Excel or Google Sheets
Suppose a simple independent experiment produced:
| Input | Treatment | Control |
|---|---|---|
| Mean weekly transactions | 1,254 | 1,200 |
| Standard Deviation | 100 | 120 |
| Experimental units | 50 | 50 |
The estimated difference is:
For this simple independent-groups example:
Therefore:
Excel and Google Sheets
If B2 = treatment SD, B3 = treatment units, B4 = control SD, and B5 = control units, enter:
Both Excel and Google Sheets use the same formula.
Expected result: 22.09
If the treatment and control outcomes themselves are available in two columns, you can also calculate the required inputs directly.
Treatment SD
Treatment count
Control SD
Control count
Then calculate the Standard Error:
This syntax works in both Excel and Google Sheets. Here COUNT is appropriate because these ranges contain numeric outcome observations. Earlier, when we counted unit IDs that could be numeric or text, COUNTA was the appropriate choice.
Why this is not the formula for every experiment
The calculation above works because we deliberately chose a simple case:
• one independent outcome per experimental unit;
• two independent groups;
• no repeated observations;
• no clustering;
• no model-based adjustment.
That is not the structure of every experiment.
Suppose instead that each location is observed repeatedly through time. Now observations from the same location may be related.
Or suppose the analysis uses:
• fixed effects;
• covariates;
• unequal weighting;
• clustered Standard Errors;
• heteroskedasticity-robust Standard Errors;
• another model-specific variance estimator.
In those cases, the Standard Error belongs to the estimator and inferential method used in the analysis.
There is no responsible universal spreadsheet formula that can reconstruct it from SD / SQRT(n) or from the treatment and control SDs alone.
That brings us back to the matched-pair rule:
For a model-based treatment-effect estimate, obtain the Standard Error from the same analytical output that produced the estimate.
What happens in a model-based analysis?
When the treatment effect is estimated by a statistical model, the model also estimates uncertainty around its coefficients.
If the treatment-effect estimate is τ̂, the corresponding model output should provide SE(τ̂).
The exact calculation depends on the estimator and the variance method used. For example, an analysis may use:
• conventional model-based Standard Errors;
• heteroskedasticity-robust Standard Errors;
• clustered Standard Errors;
• another design-appropriate variance estimator.
Those methods do not necessarily produce the same Standard Error – even when the estimated treatment effect is identical.
How the Standard Error was calculated is part of the result.
When the Standard Error comes from another analysis
For a repeated-measures or model-based analysis, Excel or Google Sheets may still be useful for recording, checking, and using the Standard Error – but not for recreating it with an unrelated shortcut.
Obtain the Standard Error from the same valid analytical output that produced the treatment-effect estimate. Then verify the pair.
Inferential reference data
Record:
| Field | What to identify |
|---|---|
| Estimate | \hat{\tau }τ̂ |
| Estimate units | SE(τ̂) |
| Standard Error | (SE()) |
| SE units | Same units as estimate |
| Estimator / model | Analysis that produced both |
| Variance / SE method | Method used to calculate uncertainty |
| Analytical sample | Same sample for both |
| Weighting | Same specified weighting |
| Missingness/composition | Same treatment |
| Dependence treatment | Same inferential specification |
| Source | Same analysis output |
If these things do not line up, do not carry the pair forward.
Interpretive example
Suppose two valid analyses each estimate weekly transactions per unit.
Analysis A reports:
Analysis B reports:
The estimated magnitude is the same .
The precision is not.
Analysis A locates the estimate more precisely than Analysis B, all else equal.
That does not mean Analysis A is automatically more causally credible.
Precision and causal credibility remain separate.
Same SE – different magnitude
Now suppose:
Analysis C:
Analysis D:
The Standard Error is the same.
The estimated magnitudes are different.
So:
Use the matched estimate and Standard Error
Once you have confirmed that the estimate and Standard Error belong to the same analysis, keep them together. Chapters 20–21 use τ̂ = 54 and SE(τ̂) = 20 as an explicitly matched inferential example. The separately calculated 22.09 above belongs only to its simple independent-groups example and is not paired with the Chapter 18 estimate.
Check your work
Can you calculate the Standard Error for the simple independent two-group example in Excel or Google Sheets?
- 1Can you point to the exact estimate?
- 2Can you point to its exact Standard Error?
- 3Are they from the same analysis?
- 4Are their units compatible?
- 5Are estimator/model, sample, weighting and dependence treatment the same?
- 6Have you kept SD and SE distinct?
- 7Have you avoided a generic SD/SQRT(n) substitution?
- 8Can you explain why a smaller SE means greater precision, all else equal?
- 9Can you explain why greater precision does not establish validity?
What this establishes – and what it doesn’t
A matched Standard Error tells us about:
Sampling uncertainty around the estimate under the inferential analysis that produced it.
It helps characterize precision.
It does not establish:
- causal validity;
- business importance;
- representativeness;
- absence of bias;
- or that the model itself is appropriate.
Next: Chapter 20 - Calculate and Interpret a Confidence Interval →
