Comparing Pharmacy Wait Times Between Two Stores With Skewed Data

Last updated: November 29, 2026

Quick Overview

Store A reports a mean prescription wait of 14.2 minutes (sd 9.0, n = 200 orders) and Store B 12.1 minutes (sd 7.5, n = 180). Test whether the stores differ, give a confidence interval, and discuss whether the t-test is appropriate for skewed wait times.

CVS Health
Statistics & Math
Data Scientist
CVS Health
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

0

0 solved


Store A reports a mean prescription wait of 14.2 minutes (sd 9.0, n = 200 orders) and Store B 12.1 minutes (sd 7.5, n = 180). Test whether the stores differ, give a confidence interval, and discuss whether the t-test is appropriate for skewed wait times.

Pharmacy operations at CVS compare stores and workflow pilots using wait time data, which is right skewed and clustered by hour and day. Interviewers check that the candidate can run the basic test correctly and then challenge its assumptions.

What the Interviewer Expects
  • Chooses Welch's t-test for unequal variances
  • Computes standard error, t and an approximate p-value
  • Builds a 95% confidence interval for the difference
  • Discusses skew and when the CLT makes the mean test valid
  • Raises clustering by day or hour as a bigger threat than skew
  • Suggests robust alternatives such as bootstrap or comparing medians
Key Topics to Cover
Welch t-test
confidence intervals
central limit theorem
clustering
bootstrap
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • The 200 orders came from just 4 days at each store. How does that change the analysis?
  • When would you prefer a Mann-Whitney test, and what does it actually test?
  • How would you compare 90th percentile wait times?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Are orders independent random samples from typical operating hours? Is the business question about the mean or the tail (customers notice long waits)? I will first answer for the mean, then challenge ...

Approach

Welch's two-sample t-test for difference in means, because standard deviations differ. Then a 95% CI. Then assumption checks....


Submit Your Answer
Markdown supported

Related Questions