Examples¶
Learn from common analytics mistakes and how Invariant catches them.
What these examples show¶
Each example follows the same pattern:
- Scenario — What someone tries to do
- What they expect — The intuitive (but wrong) result
- Why it's wrong — The semantic problem
- How Invariant detects it — The validation rule that fires
- Typical remediations — How to fix it
How to read them¶
Start with Indicator Aggregation — it's the most common mistake and the clearest example of what Invariant does.
Examples¶
| Example | The mistake |
|---|---|
| Indicator Aggregation | Summing or averaging rates and percentages |
| Cross-dataset Comparison | Comparing datasets with different universes |
| Reference System Changes | Querying across boundary changes without crosswalks |
| Suppression | Small cell disclosure risk |
Next steps¶
After exploring examples, read Concepts to understand the domain model behind these rules.