Skip to content

Examples

Learn from common analytics mistakes and how Invariant catches them.

What these examples show

Each example follows the same pattern:

  1. Scenario — What someone tries to do
  2. What they expect — The intuitive (but wrong) result
  3. Why it's wrong — The semantic problem
  4. How Invariant detects it — The validation rule that fires
  5. 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.