Skip to content
ML Academy

SQL, data modeling, data quality, EDA, visualization · insight-0057

Check whether missingness depends on other columns before dropping incomplete rows

Evidence type
documented fact
Difficulty
medium
Roles
Data scientist, Data analyst
Industries
aviation, healthcare, insurance

Summary: situation, action, reason, boundary

  1. Situation

    An analysis drops rows with missing fare or revenue because "only 3% are missing".

  2. Action

    Tabulate the missing rate by segment, time and source system. If it varies with observed variables, use weighting or imputation conditioned on them, add missingness indicators, and report results with and without the missing rows.

  3. Reason

    Simple deletion is generally safe only when data are missing completely at random; under MAR or MNAR it biases estimates.

  4. Boundary

    Revenue, survey, sensor and CRM fields with partial coverage.

Symptom or risk

If missingness is concentrated in one segment, complete-case results underweight that segment and shift the mean and the trend.

Exceptions

Very low missingness that is uniform across segments, verified rather than assumed.

Trade-offs

Imputation models add assumptions and must be fitted on training data only.

Pitfalls

Testing the missingness pattern only on the overall table, where segment differences cancel.

Example

Synthetic airline data: avg_fare and revenue are missing at random conditional on market in flight_day_raw, more often on intl-long flights.

Lessons and concepts

Claims and their sources