All frameworks and cheat sheets

Reference table

Four rules for subgroup analysis that doesn't fool you

How to look for heterogeneous treatment effects without manufacturing findings

Table of four rules for subgroup analysis, from prespecifying modifiers to checking for sign flips, with the failure each prevents and how it gets broken.
Slicing data does manufacture findings. These rules let you look for real differences without fishing.

Four rules for finding heterogeneous treatment effects in experiments and product research without producing false findings. Prespecify a few effect modifiers with a mechanism, test the interaction instead of comparing two subgroup p-values, confirm measurement invariance before comparing survey constructs, and check for sign flips on purpose. For each rule the table shows the failure it prevents and the shortcut that breaks it. Koji interviews can then explain why a segment moved the other way.

Where this appears

What's in this reference table

RuleFailure it preventsCheapest way to break it
Prespecify 3 to 5 modifiers with a mechanismFishing across every available dimensionOpening the segment picker after seeing the result
Test the interaction, not two subgroup p-valuesMistaking unequal power for a real differenceSaying it was significant in A, not in B, so it differs
Establish measurement invariance firstReading a scale-interpretation gap as an effect gapComparing survey constructs across languages or roles
Check specifically for sign flipsShipping known harm inside a favourable meanReporting only which group benefited most

Use this image

Free to use in your docs, decks and posts under CC BY 4.0, as long as you credit Koji with a link to this page. To embed it, paste this into your page:

html
<a href="https://www.koji.so/visuals/subgroup-analysis-four-rules-table"><img src="https://www.koji.so/visuals/subgroup-analysis-four-rules-table/subgroup-analysis-four-rules-table.png" alt="Table of four rules for subgroup analysis, from prespecifying modifiers to checking for sign flips, with the failure each prevents and how it gets broken." width="1200" height="719" /></a>
<p>Source: <a href="https://www.koji.so/visuals/subgroup-analysis-four-rules-table">Four rules for subgroup analysis that doesn't fool you</a>, Koji</p>