| name | data-validation |
| description | QA an analysis before sharing with stakeholders — methodology checks, accuracy verification, and bias detection. Use when reviewing an analysis for errors, checking for survivorship bias, validating aggregation logic, or preparing documentation for reproducibility. |
Data Validation Skill
Pre-delivery QA checklist, common data analysis pitfalls, result sanity checking, and documentation standards for reproducibility.
Pre-Delivery QA Checklist
Data Quality Checks
Calculation Checks
Reasonableness Checks
Presentation Checks
Common Pitfalls
Join Explosion
Many-to-many join silently multiplies rows. Always check row counts after joins.
Survivorship Bias
Analyzing only entities that exist today, ignoring churned/deleted/failed. Ask "who is NOT in this dataset?"
Incomplete Period Comparison
Comparing partial to full periods. Filter to complete periods or compare same number of days.
Denominator Shifting
Denominator changes between periods. Use consistent definitions across all compared periods.
Average of Averages
Averaging pre-computed averages gives wrong results when group sizes differ. Always aggregate from raw data.
Timezone Mismatches
Different sources using different timezones. Standardize to UTC before analysis.
Selection Bias
Segments defined by the outcome you're measuring (circular logic). Define segments based on pre-treatment characteristics.
Sanity Checking
Magnitude Checks
| Metric Type | Check Against |
|---|
| User counts | Known MAU/DAU figures |
| Revenue | Known ARR |
| Conversion rates | 0-100%, dashboard figures |
| Growth rates | Is 50%+ MoM realistic? |
| Averages | Reasonable given distribution |
| Percentages | Sum to ~100% |
Red Flags
- Metrics changing >50% period-over-period without obvious cause
- Exact round numbers (suggests filter/default issues)
- Rates at exactly 0% or 100%
- Results that perfectly confirm the hypothesis
- Identical values across periods/segments
Documentation Template
## Analysis: [Title]
### Question
[Specific question being answered]
### Data Sources
[Tables with "as of" dates]
### Definitions
[Metric and segment definitions]
### Methodology
[Step-by-step approach]
### Assumptions and Limitations
[With impact assessment]
### Key Findings
[With supporting evidence]
### SQL Queries
[All queries with comments]