Data Analyst Course · Mistakes lesson

Data Analyst Interview Mistakes: Bad Metrics and Causality

Fix weighted-rate, selection-bias and causal-claim mistakes with a worked conversion example.

Learn the concept, work through an example, and check your answer.

COURSE LESSON PREVIEW
Mistakes lessonLearn → test

Core idea

Average rates only after checking what each rate represents.

Group counts → weight
Overall rate → check
Cause → evidence
Check the output and reasoning.Apply the example, then check a changed case.

The direct answer

Repair the metric before arguing about the story.

An analyst can compute each segment correctly and still report the wrong overall result. A simple average of segment rates ignores how many eligible observations each segment contains. Selection bias and causal overreach create different errors: they change who is measured and what the evidence can establish.

This page corrects a weighted conversion example and uses it to build an interview review checklist. The course pricing block follows the introduction.

Course access

Choose your next step in Data Analyst preparation.

Review the current course options and access details here.

Heycademy Courses · Coming Soon

Master Data Analyst with Heycademy

We’re preparing an interactive learning experience with practical exercises, skill assessments and personalized learning to help you build confidence and master new skills.

Launching soon!
We’re putting the finishing touches on this course. Please check back for updates.

Worked weighted rate

Combine numerators and denominators.

Synthetic segment data
SegmentVisitorsPurchasesSegment conversion
A9009010%
B10022%

The unweighted average of 10% and 2% is 6%, but the actual overall conversion is (90+2)/(900+100) = 92/1,000 = 9.2%. Segment A represents nine times as many visitors. The correct overall rate weights by denominator. A plain average would answer a different question: average of two segment rates given equal segment importance.

Wrong-versus-right comparison
MethodCalculationResult
Unweighted segment mean(10% + 2%)/26%
Pooled overall rate(90 + 2)/(900 + 100)9.2%

Never average percentages without asking what each denominator represents and what question you are answering.

Selection bias

Who entered the dataset first?

Suppose a survey about checkout frustration is shown only to users who completed a purchase. It omits users who abandoned checkout, precisely the people who may have encountered the greatest difficulty. A high satisfaction score among completers cannot describe all starters. The repair is to define the target population, the response mechanism and the missing group.

Similarly, comparing customers who chose a premium plan with those who did not may reflect pre-existing differences. A strong interview answer avoids “premium plan caused retention” unless the design supports that claim.

Observation versus cause

State the alternative explanation.

Causal-claim check
ClaimWhat data showWhat remains open
Conversion fell after redesign.A before/after association.Traffic mix, seasonality, tracking, other releases.
Treatment group converted more.Observed group difference.Randomization, logging, SRM, uncertainty.
High-value users retain longer.Segment association.Selection and reverse direction.

Randomized experiments can strengthen causal claims when design and data are valid. Even then, check assignment integrity and metrics. The Microsoft Research SRM paper explains one important data-quality warning.

Keep building this skill

Turn the example into a skill you can use.

Return to the course options whenever you are ready.

Explore course options →

Error-review template

Find the first false assumption.

Metric audit checklist
QuestionWhat to record
UnitUser, session, order or event?
Numerator and denominatorAre units compatible?
WindowSame exposure time and timezone?
MixDid segment weights change?
MissingnessWho is absent from data?
CauseWhat design supports the claim?

For the weighted example, the first wrong assumption is that the two segment rates deserve equal weight in an overall visitor rate. Fixing a chart label alone would not repair the calculation.

Transfer check

Change the group sizes.

Now Segment A has 100 visitors and 10 purchases (10%); B has 900 visitors and 18 purchases (2%). What is the overall rate?

Show the answer

(10+18)/(100+900) = 28/1,000 = 2.8%. The unweighted average remains 6%, showing why denominators matter.

The A/B test lesson adds randomization and uncertainty checks.

FAQ

Questions about this skill.

When is an average of rates valid?

When the intended estimand gives each rate equal weight; for pooled conversion, weight by denominators.

Does segmentation prove cause?

No. It can clarify mix and hypotheses but may introduce selection issues.

Can a before/after change be causal?

It may be, but the trend alone does not establish that.

Continue with the course

Build reliable data analyst skills.

Review the course options and choose your next learning step.

Take the next step →
Scroll to Top