CHAPTER

06

Group

2

·

Construct the Inputs

Calculate Within-Unit Standard Deviation

Calculate Within-Unit Standard Deviation

Calculate Within-Unit Standard Deviation

My data is arranged as

Chapter 05 measured differences across units.

Now hold the identity of the unit conceptually fixed and look at its repeated observations through time.

A store can have a normal level of 2,500 weekly transactions and still move above and below that level from week to week.

Another store can have a normal level of 3,100 and move around its own level by a similar amount.

Within-unit standard deviation quantifies that repeated movement.

What are we calculating?

Let:

  • = KPI observation for unit (i) in period (t);
  • = mean of the valid historical observations for unit (i);
  • = total number of valid unit-period observations represented;
  • = number of represented eligible experimental units.

First center each valid observation on its own unit mean:

Then pool the squared within-unit deviations:

The pooled within-unit standard deviation used here is:

The denominator is because estimating one mean for each represented unit consumes one degree of freedom per unit.

You do not need to derive that result here.

You do need to calculate the correct (M), (N), and pooled squared deviations.

Why not just use STDEV.S?

Because STDEV.S() on the raw observations mixes between-unit and within-unit variation.

And STDEV.S() on all centered deviations would use denominator (M-1), not the pooled denominator used here (M-N).

Also do not calculate one SD per unit and average those SDs.

That creates a different quantity.

The Workbench construction is:

Weighting

This chapter uses a different weighting structure from Chapter 05.

Chapter 05 gave each unit one final value.

Here:

each valid within-unit squared deviation contributes to the pooled SSE.

Therefore a unit with more valid historical observations can contribute more residual information than a unit with fewer observations.

That is intentional in this pooled estimator.

It must not happen accidentally or remain unstated.

Matrix path

Practical example – Matrix

Use the four-store history:

StoreWeek 1Week 2Week 3Week 4
1012,4202,5102,4752,550
1022,6902,6402,7102,675
1031,9402,0101,9802,050
1043,1203,0803,1903,150

Assume:

  • Store ID: A2:A5;
  • KPI history: B2:E5;
  • unit mean: F2:F5;
  • centered deviations: G2:J5.

Step 1 – calculate each unit mean

In F2:

fx=AVERAGE(B2:E2)

Copy down.

Expected means:

StoreMean
1012,488.75
1022,678.75
1031,995.00
1043,135.00

Step 2 – center every valid observation

In G2:

fx=IF(B2="","",B2-$F2)

Copy across through J2, then down through row 5.

Expected centered deviations:

StoreW1W2W3W4
101-68.7521.25-13.7561.25
10211.25-38.7531.25-3.75
103-55.0015.00-15.0055.00
104-15.00-55.0055.0015.00

The IF preserves missing observations as missing rather than turning them into artificial deviations.

Step 3 – calculate pooled SSE

fx=SUMSQ(G2:J5)

Expected result:

Step 4 – calculate M

M is the number of valid KPI observations – not the size of the rectangular block.

fx=COUNT(B2:E5)

Expected result:

COUNT counts numeric observations, including genuine zeros, and ignores blanks and text.

Unexpected text in a KPI field should still be investigated rather than silently accepted as missing.

Step 5 – calculate N

N is the number of represented eligible units contributing at least one valid observation.

For this clean Matrix example:

fx=COUNT(F2:F5)

Expected result:

If a row contains no valid KPI observations, its mean is not a represented unit mean and it must not be counted in (N).

Step 6 – calculate pooled within-unit SD

If:

  • Place SSE in L2;
  • place M in L3;
  • place N in L4;

use:

fx=SQRT(L2/(L3-L4))

Expected result:

weekly transactions.

Panel path hidden — you chose MatrixPanel execution

Unequal-history stress test

Now suppose Store 103 is missing Week 4.

Do not insert zero.

The calculation changes as follows:

  • Store 103’s mean is calculated from its three valid weeks;
  • no centered deviation exists for its missing Week 4;
  • falls from 16 to 15;
  • remains 4 because Store 103 is still represented;
  • the denominator becomes (15-4=11).

This is exactly why the denominator must be derived from the valid observations actually used, not hard-coded from the apparent table dimensions.

A unit with fewer valid observations contributes fewer squared deviations.

That is the pooled weighting used here.

Unit with only one valid observation

Suppose a represented unit has only one valid historical observation.

Its unit mean equals that observation, so its one centered deviation is zero.

It contributes one observation to (M) and one represented unit to (N), adding zero residual degrees of freedom.

That is mechanically coherent.

But whether one observation is sufficient historical evidence for the intended design remains a Chapter 01 evidence-quality question.

Do not invent a universal minimum here.

Check your work

Constant-within-unit test

If every unit is constant through time, every centered deviation is zero.

Therefore: and provided (M-N>0).

If your spreadsheet does not return zero, the construction is wrong.

Unit-shift test

Add 1,000 to every observation for Store 101.

Its mean also increases by 1,000.

Its centered deviations do not change.

Therefore the pooled within-unit SD should not change.

That is a powerful check that you are measuring movement around each unit’s own level rather than differences in level across units.

Denominator test

You must have .

If (M=N), every represented unit has only one valid observation and there is no residual within-unit information from which to estimate this SD.

Missingness test

Replacing a missing observation with zero should generally change the result.

That change is evidence that zero and missing are not interchangeable – not a reason to fill the blank.

Matrix/Panel equivalence

Equivalent evidence must yield the same (M), (N), SSE, and .

What does the result mean?

A within-unit SD of weekly transactions describes the pooled scale of week-to-week movement around each store’s own historical level.

A note about what this quantity represents

This calculation tells us how much observations typically move around each unit’s own historical level.

That makes it useful evidence about within-unit variation.

It is not, however, automatically the exact variability parameter required by every repeated-measures statistical model. Serial persistence and the way the historical unit mean was estimated can affect that relationship.

We’ll preserve that distinction when we reach repeated-measures planning in Chapter 10.

It does not tell you:

  • how different store levels are from one another;
  • whether a high week tends to be followed by another high week;
  • how much independent information six weeks contain;
  • or what sample size the experiment needs.

We now know the amount of within-unit movement.

We still do not know whether that movement persists through time.

Next: LiftWorkbench 07 – Calculate Persistence Through Time →

Continue the conversation.

Better decisions, practiced consistently, compound. Habits become disciplines. Disciplines become capabilities. Capabilities change organizations.

By joining, you agree to receive occasional emails from LiftWorkshop and LiftConductor. You can unsubscribe at any time. See our Privacy Policy.

Welcome to LiftWorkshop

One of my favorite parts of writing is discovering how other thoughtful people see the world. If a Reflection sparked an idea, challenged an assumption, or left you with a question, I'd genuinely enjoy hearing about it.

[email protected]

If I ever quote or reference your thoughts, I'll always ask first, and we'll decide together whether you'd like to be identified by name, anonymously, or not at all.

© 2026 Lift Conductor LLC. All rights reserved.

LiftConductor™ is a product of Lift Conductor LLC. Certain trademarks, software, methodologies, and other intellectual property are owned by Bendle Companies LLC and used under license.

Privacy Policy | Terms of Use

Continue the conversation.

Better decisions, practiced consistently, compound. Habits become disciplines. Disciplines become capabilities. Capabilities change organizations.

By joining, you agree to receive occasional emails from LiftWorkshop and LiftConductor. You can unsubscribe at any time. See our Privacy Policy.

Welcome to LiftWorkshop

One of my favorite parts of writing is discovering how other thoughtful people see the world. If a Reflection sparked an idea, challenged an assumption, or left you with a question, I'd genuinely enjoy hearing about it.

[email protected]

If I ever quote or reference your thoughts, I'll always ask first, and we'll decide together whether you'd like to be identified by name, anonymously, or not at all.

© 2026 Lift Conductor LLC. All rights reserved.

LiftConductor™ is a product of Lift Conductor LLC. Certain trademarks, software, methodologies, and other intellectual property are owned by Bendle Companies LLC and used under license.

Privacy Policy | Terms of Use

Continue the conversation.

Better decisions, practiced consistently, compound. Habits become disciplines. Disciplines become capabilities. Capabilities change organizations.

By joining, you agree to receive occasional emails from LiftWorkshop and LiftConductor. You can unsubscribe at any time. See our Privacy Policy.

Welcome to LiftWorkshop

One of my favorite parts of writing is discovering how other thoughtful people see the world. If a Reflection sparked an idea, challenged an assumption, or left you with a question, I'd genuinely enjoy hearing about it.

[email protected]

If I ever quote or reference your thoughts, I'll always ask first, and we'll decide together whether you'd like to be identified by name, anonymously, or not at all.

© 2026 Lift Conductor LLC. All rights reserved.

LiftConductor™ is a product of Lift Conductor LLC. Certain trademarks, software, methodologies, and other intellectual property are owned by Bendle Companies LLC and used under license.

Privacy Policy | Terms of Use

Continue the conversation.

Better decisions, practiced consistently, compound. Habits become disciplines. Disciplines become capabilities. Capabilities change organizations.

By joining, you agree to receive occasional emails from LiftWorkshop and LiftConductor. You can unsubscribe at any time. See our Privacy Policy.

Welcome to LiftWorkshop

One of my favorite parts of writing is discovering how other thoughtful people see the world. If a Reflection sparked an idea, challenged an assumption, or left you with a question, I'd genuinely enjoy hearing about it.

[email protected]

If I ever quote or reference your thoughts, I'll always ask first, and we'll decide together whether you'd like to be identified by name, anonymously, or not at all.

© 2026 Lift Conductor LLC. All rights reserved.

LiftConductor™ is a product of Lift Conductor LLC. Certain trademarks, software, methodologies, and other intellectual property are owned by Bendle Companies LLC and used under license.

Privacy Policy | Terms of Use